Template:Infobox: Difference between revisions

    From Nonbinary Wiki
    m>Netoholic
    No edit summary
    m>Netoholic
    (update)
    Line 1: Line 1:
    <includeonly>{{checktemplate|name}}
    {| class="infobox bordered" style="width: 25em; text-align: left;"
    {{checktemplate|name}}{{checktemplate|image}}{{checktemplate|caption}}{{checktemplate|data 1}}{{checktemplate|data 2}}{{checktemplate|data 3}}</includeonly>
    |+ style="font-size: larger | '''{{{name}}}'''
    {| class="infobox" style="width: 25em; text-align: left;"
    |+ <big>'''{{{name}}}'''</big>
    |-
    |-
    | colspan="2" style="text-align:center;" | {{{image}}}<br />{{{caption}}}
    | colspan="2" style="text-align:center;" | [[Template:{{{image}}}|300px| ]]<br>{{{caption}}}
    |- style="vertical-align:top;"
    |-  
    ! Data 1:
    ! Data 1:
    | {{{data 1}}}
    | {{{data1}}}
    |- style="vertical-align:top;"
    |-  
    ! Data 2:
    ! Data 2 (data hidden if data2 empty):
    | {{{data 2}}}
    | {{{data2|}}}
    |- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
    |- class="hiddenStructure{{{data3|}}}"
    ! Data 3 (hidden if empty):
    ! Data 3 (row hidden if data3 empty):
    | {{{data 3}}}
    | {{{data3}}}
    |- style="vertical-align:top;"
    |-  
    | colspan="2" style="font-size:smaller;" | {{footnote}}
    | colspan="2" style="font-size:smaller;" | {{{footnotes}}}
    |}
    |}<noinclude>
    <br style="clear:both;" />
     
    == Usage ==
    Copy this code
     
    <pre>
    <pre>
    Copy this code:
    {| class="infobox bordered" style="width: 25em; text-align: left;"
     
    |+ style="font-size: larger | '''{{{name}}}'''
    {| class="infobox" style="width: 25em; text-align: left;"
    |+ <big>'''{{{name}}}'''</big>
    |-
    |-
    | colspan="2" style="text-align:center;" | {{{image}}}<br />{{{caption}}}
    | colspan="2" style="text-align:center;" | [[Template:{{{image}}}|300px| ]]<br>{{{caption}}}
    |- style="vertical-align:top;"
    |-  
    ! Data 1:
    ! Data 1:
    | {{{data 1}}}
    | {{{data1}}}
    |- style="vertical-align:top;"
    |-  
    ! Data 2:
    ! Data 2 (data hidden if data2 empty):
    | {{{data 2}}}
    | {{{data2|}}}
    |- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
    |- class="hiddenStructure{{{data3|}}}"
    ! Data 3 (hidden if empty):
    ! Data 3 (row hidden if data3 empty):
    | {{{data 3}}}
    | {{{data3}}}
    |- style="vertical-align:top;"
    |-  
    | colspan="2" style="font-size:smaller;" | {{footnote}}
    | colspan="2" style="font-size:smaller;" | {{{footnotes}}}
    |}
    |}
    </pre>
    </pre>
    <noinclude>
     
    [[Category:infobox templates|{{PAGENAME}}]]
    [[Category:infobox templates|{{PAGENAME}}]]
    </noinclude>
    </noinclude>

    Revision as of 06:13, 7 January 2006

    {{{name}}}
    [[Template:{{{image}}}|300px| ]]
    {{{caption}}}
    Data 1: {{{data1}}}
    Data 2 (data hidden if data2 empty):
    Data 3 (row hidden if data3 empty): {{{data3}}}
    {{{footnotes}}}

    Usage

    Copy this code

    {| class="infobox bordered" style="width: 25em; text-align: left;"
    |+ style="font-size: larger | '''{{{name}}}'''
    |-
    | colspan="2" style="text-align:center;" | [[Template:{{{image}}}|300px| ]]<br>{{{caption}}}
    |- 
    ! Data 1:
    | {{{data1}}}
    |- 
    ! Data 2 (data hidden if data2 empty):
    | {{{data2|}}}
    |- class="hiddenStructure{{{data3|}}}"
    ! Data 3 (row hidden if data3 empty):
    | {{{data3}}}
    |- 
    | colspan="2" style="font-size:smaller;" | {{{footnotes}}}
    |}