|
|
Line 810: |
Line 810: |
| *Weapon | | *Weapon |
| **found (replaced by location) | | **found (replaced by location) |
|
| |
| <onlyinclude><includeonly>{| class="{{{class|infobox}}}" cellpadding="4" style="font-size: {{{font-size|.95em}}}; {{{style|}}}"
| |
| ! colspan="{{#vardefineecho:infobox-cols|{{{cols|2}}}}}" class="title" | {{{1|}}}
| |
| |-</includeonly></onlyinclude>
| |
|
| |
| ==Purpose==
| |
| This template is used to more easily create infobox templates.
| |
|
| |
| ==Usage==
| |
| To use this template, start with this code:
| |
| <div style="float:left;"><pre>
| |
| {{Infobox|Title}}
| |
| {{Infobox/Image|{{{image|}}}}}
| |
| {{Infobox/Row|Title1|{{{parameter1|}}}}}
| |
| {{Infobox/Row|Title2|{{{parameter2|}}}}}
| |
| {{Infobox/Row|Title3|{{{parameter3|}}}}}
| |
| {{Infobox/Bottom}}</pre></div><br style="clear:both">
| |
| Any number of rows may be added. Rows that don't have their parameter specified when the infobox is used won't show up.
| |
| If desired, the infobox class can be changed with a named ''class'' parameter, font size can be changed with a ''font-size'' parameter, and additional stylings can be added with a named ''style'' parameter.
| |
|
| |
|
| |
|
| {{Cat|Formatting Templates}} | | {{Cat|Formatting Templates}} |
| {{Cat|Infobox Templates}}
| |