Difference between revisions of "Template:ClassInfobox"
From EncyclopAtys
CeNobiteElf (talk | contribs) m |
m |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| class="infobox" border="0" style="width:100%" | + | {| class="infobox" border="0" style="width:100%;" |
|- | |- | ||
| − | {{#if: {{{image|}}} | ! style="width: | + | {{#if: {{{image|}}} | ! style="width:200px;" rowspan="4" {{!}} [[image:{{{image}}}|left|200px]] |}} |
! align="left" | '''{{{Race}}}''' | ! align="left" | '''{{{Race}}}''' | ||
! style="width:100%" | <!-- pushes the captions to the left --> | ! style="width:100%" | <!-- pushes the captions to the left --> | ||
| Line 14: | Line 14: | ||
| {{{Description}}} | | {{{Description}}} | ||
|}<noinclude> | |}<noinclude> | ||
| + | {{clear}} | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
| Line 26: | Line 27: | ||
[[Category: Infobox templates|ClassInfoBox]] | [[Category: Infobox templates|ClassInfoBox]] | ||
| − | <!-- | + | <!-- |
Old template for future reference | Old template for future reference | ||
| + | |||
| + | Old template did not work properly because no amount of line breaks were detected after the template (still a problem) and secondly because it did not push the contents to the left, making the content be off-center unless a long description is given. | ||
{| class="infobox" style="width:100%" | {| class="infobox" style="width:100%" | ||
| Line 41: | Line 44: | ||
|- class="hiddenStructure{{{Description|}}}" | |- class="hiddenStructure{{{Description|}}}" | ||
!align="left" style="width:100px" | '''Summary:''' | !align="left" style="width:100px" | '''Summary:''' | ||
| − | | {{{Description}}} | + | | {{{Description}}} --> |
| − | + | ||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Latest revision as of 00:52, 22 August 2014
| {{{Race}}} |
|
|---|---|
| Description: | {{{Description}}} |
Usage
{{ClassInfoBox
|image=
|race=
|Locale=
|Faction=
|Description=
}}