Template:Wiki Infobox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
(Created page with "<onlyinclude> <table class="MDWIki" style="float:right; clear:right; margin:0.5em; width:350px"> <tr> <th style="border-radius:10px; padding:5px"><big>{{#if:{{{name|}}}|{{{nam...")
 
m (Text replacement - "|N/A}}}" to "|}}}")
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>
{| class="wikitable infobox"
<table class="MDWIki" style="float:right; clear:right; margin:0.5em; width:350px">
!colspan="2" class="infoboxTitle"|<span style="font-size: 1.2rem;">{{{name|{{PAGENAME}}}}}</span><br><span style="font-size: 0.75rem;">{{#if:{{{romaji|}}}|{{Tt|{{{jpname|}}}|{{{romaji}}}}}|{{{jpname|}}}}}</span>
<tr>
|-
<th style="border-radius:10px; padding:5px"><big>{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}</big>{{#if:{{{kana|}}}|<br><small>{{#if:{{{romaji|}}}|{{tt|{{{kana|}}}|{{{romaji|}}}}}|{{{kana|}}}}}}}{{#if:{{{hepburn|}}}|<br>{{{hepburn|}}}}}
!colspan="2" class="infoboxImage"|[[File:{{#ifeq:{{{image}}}||Wiki.png|{{{image|Wiki.png}}}}}|alt={{{img_description|{{{caption|Image for {{PAGENAME}}}}}}}}|{{{img_size|200x200px}}}|frameless]]<br>{{{caption|}}}
{{#if:{{{image|}}}|
|-
<tr>
|colspan="2" class="infoboxDescription"|{{{description|}}}
<th style="background-color:rgba(0,0,0,0); padding:10px">[[File:{{{image}}}|frameless]]
|-
}}{{#if:{{{attribute|}}} {{{location|}}}|
!colspan="2" class="infoboxContext"|Information
<tr>
|-
<td style="background-color:rgba(0,0,0,0); border-radius:10px">
!class="infoboxHeadRow"|Creation
<table class="mw-collapsible" style="width:100%">
|class="infoboxBodyRow"|{{{creation|}}}
<th colspan="2" style="border-radius:10px">Information
|-
{{#if:{{{attribute|}}}|
!class="infoboxHeadRow"|Founders
<tr>
|class="infoboxBodyRow"|{{{founders|}}}
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">{{Shiren3|Attribute}}
|-
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{attribute}}}
!class="infoboxHeadRow"|Status
}}{{#if:{{{location|}}}|
|class="infoboxBodyRow"|{{{status|}}}
<tr>
|-
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">{{Shiren3|Location}}
!class="infoboxHeadRow"|URLs
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{location}}}
|class="infoboxBodyRow"|{{{urls|}}}
}}
|-
</table>
!class="infoboxHeadRow"|Forks
}}{{#if:{{{hp|}}} {{{attack|}}} {{{defense|}}} {{{speed|}}} {{{exp|}}}|
|class="infoboxBodyRow"|{{{forks|}}}
<tr>
|-
<td style="background-color:rgba(0,0,0,0); border-radius:10px">
!class="infoboxHeadRow"|Hosts
<table class="mw-collapsible" style="width:100%">
|class="infoboxBodyRow"|{{{hosts|}}}
<th colspan="2" style="border-radius:10px">Stats
|-
{{#if:{{{hp|}}}|
!class="infoboxHeadRow"|Archived
<tr>
|class="infoboxBodyRow"|{{{archived|}}}
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">HP
|}<noinclude>
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{hp}}}
{{Clear}}{{Doc}}
}}{{#if:{{{attack|}}}|
[[Category:Meta Infobox Templates]]
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Attack
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{attack}}}
}}{{#if:{{{defense|}}}|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Defense
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{defense}}}
}}{{#if:{{{speed|}}}|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Speed
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{speed}}}
}}{{#if:{{{exp|}}}|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Exp
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{exp}}}
}}
</table>
}}
</table></onlyinclude><noinclude>
 
{{Clear}}
==Usage==
<pre>
{{Infobox Wiki
  | name      =
  | kana      =
  | romaji    =
  | hepburn  =
  | image    =
  | location  =
  | attribute =
  | hp        =
  | attack    =
  | defense  =
  | speed    =
  | exp      =
}}
</pre>
 
==Example==
<noinclude>
{{Infobox Wiki
  | name      =
  | kana      =
  | romaji    =
  | hepburn  =
  | image    =
  | location  =
  | attribute =
  | hp        =
  | attack    =
  | defense  =
  | speed    =
  | exp      =
}}
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 17:13, 25 June 2025

Wiki Infobox
Image for Wiki Infobox
Information
Creation
Founders
Status
URLs
Forks
Hosts
Archived
Template-info.png Documentation

Usage

{{Wiki Infobox
  | name   = 
  | image    = 
  | creation = 
  | founders = 
  | status   = 
  | urls     = 
  | forks    = 
  | hosts    = 
  | archived = 
}}

Example

Mystery Dungeon Franchise Wiki (MDFW)
Image for Wiki Infobox
Information
Creation 14:14 Mountain Time on September 11, 2019.
Founders Jubilee
Status Active
URLs mysterydungeonwiki.com
Forks es.mysterydungeonwiki.com
Hosts Baskerville Archive
Archived