Template:Infobox Character: Difference between revisions

From Red Faction Wiki
No edit summary
No edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:250px; background-color:#cccccc;"
<includeonly><infobox>
|-
    <group>
|colspan="2" style="text-align:center; background:#cccccc; -moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0.5em;"|<big>'''{{{name}}}'''<big>
<title source="name"><default>{{PAGENAME}}</default><format>{{{name|{{PAGENAME}}}}}</format></title>
|-
<media source="image">
|colspan="2" style="text-align:center; background:#FFFFFF"|{{{image}}}
    <caption source="imageinfo"><small>{{{imageinfo}}}</small></caption>
|-
    </media>
|colspan="2" style="text-align:center; background:#cccccc"|In: ''{{{game}}}''
</group>
|-
 
|style="background:#ffffff"|{{Template:If|{{{sex|}}}|'''Sex'''|}}
<group>
|style="color:white; background:#aaaaaa"|{{Template:If|{{{sex|}}}|{{{sex}}}|}}
    <header><small>Information</small></header>
|-
<data source="game"><label>'''Game(s)'''</label></data>
|style="background:#ffffff"|{{Template:If|{{{age|}}}|'''Age'''|}}
<data source="va"><label>'''Portrayal'''</label></data>
|style="color:white; background:#aaaaaa"|{{Template:If|{{{age|}}}|{{{age}}}|}}
</group>
|-
|style="background:#ffffff"|{{Template:If|{{{alignment|}}}|'''Alignment'''|}}
|style="color:white; background:#aaaaaa"|{{Template:If|{{{alignment|}}}|{{{alignment}}}|}}
|-
|style="background:#ffffff"|{{Template:If|{{{status|}}}|'''Status'''|}}
|style="color:white; background:#aaaaaa"|{{Template:If|{{{status|}}}|{{{status}}}|}}
|}


<group>
<header><small>Character</small></header>
<data source="sex"><label>'''Sex'''</label></data>
<data source="born"><label>'''Born'''</label></data>
<data source="died"><label>'''Died'''</label></data>
<data source="alignment"><label>'''Allegiance'''</label></data>
<data source="role"><label>'''Role'''</label></data>
<data source="prefweap"><label>'''Preferred Weapon'''</label></data>
</group>
</infobox></includeonly>
<noinclude>
<noinclude>


Line 27: Line 30:
|name          =
|name          =
|image          =
|image          =
|imageinfo      =
|game          =
|game          =
|va            =
|sex            =
|sex            =
|age            =
|born          =
|died          =
|alignment      =
|alignment      =
|status        =
|role          =
|prefweap      =
}}
}}
</pre>
</pre>
|}
|}


[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
NOTE: If "name" is omitted, it will default to the name of the page.
 
[[Category:Infobox Templates]]</noinclude>

Latest revision as of 09:42, 31 January 2024


{{Infobox Character
|name           =
|image          =
|imageinfo      =
|game           =
|va             =
|sex            =
|born           =
|died           =
|alignment      =
|role           =
|prefweap       =
}}

NOTE: If "name" is omitted, it will default to the name of the page.