Welcome to Assassin's Creed Wiki! Log in and join the community.

Template:Character Infobox: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>Thisismyrofl
Fixing broken hidden note
imported>Thisismyrofl
Improvements
Line 5: Line 5:
| colspan=2 align=center | <big>'''{{{name|{{BASEPAGENAME}}}}}'''</big>
| colspan=2 align=center | <big>'''{{{name|{{BASEPAGENAME}}}}}'''</big>
|-
|-
{{#if: {{{image}}} | {{!}}colspan=2 align=center style="-moz-border-radius:3.5px; background:#ffffff"{{!}}<p>[[Image:{{{image}}}{{!}}275px]]</p>
{{#if: {{{image|}}} | {{!}}colspan=2 align=center style="-moz-border-radius:3.5px; background:#ffffff"{{!}}<p>[[Image:{{{image}}}{{!}}275px]]</p>
{{!}}-
{{!}}-
{{!}}{{#if: {{{imgdesc}}} | colspan=2 align=center {{!}} <small>{{{imgdesc}}}</small> | colspan=2 align=center {{!}} <small>{{BASEPAGENAME}}</small>
{{!}}{{#if: {{{imgdesc|}}} | colspan=2 align=center {{!}} <small>{{{imgdesc}}}</small> | colspan=2 align=center {{!}} <small>{{BASEPAGENAME}}</small>
}}
}}
{{!}}-
{{!}}-
Line 13: Line 13:
}}
}}
|-
|-
{{#if: {{{name}}}} | {{!}}Name {{!}}{{!}} align=right {{!}} {{{name}}}|
{{#if: {{{name|}}}} | {{!}}Full name {{!}}{{!}} align=right {{!}} {{{name}}}| {{!}}Name {{!!}} align=right {{!}} {{BASEPAGENAME}}
}}
}}
|-
|-
{{#if: {{{faction}}} | {{!}}Faction {{!}}{{!}} align=right {{!}} {{{faction}}}|
{{#if: {{{faction|}}} | {{!}}Faction {{!}}{{!}} align=right {{!}} {{{faction}}}|
}}
}}
|-
|-
{{#if: {{{appear}}} | {{!}}Appears in {{!}}{{!}} align=right {{!}} {{{appear}}}|
{{#if: {{{appear|}}} | {{!}}Appears in {{!}}{{!}} align=right {{!}} {{{appear}}}|
}}
}}
|-
|-
{{#if: {{{period}}} | {{!}}Time period {{!}}{{!}} align=right {{!}} {{{period}}}|
{{#if: {{{period|}}} | {{!}}Time period {{!}}{{!}} align=right {{!}} {{{period}}}|
}}
}}
|-
|-
Line 39: Line 39:
</pre>
</pre>


You can leave any field blank, and the entire field will not show in the end result.  This includes the image= field.  The exception is imgdesc=, because it will default to the page's name when left blank.
You can omit any field or leave it blank, and the entire field will not show in the end result.  This includes the image= field.  The exception is imgdesc=, because it will default to the page's name when left blank.  Also, do not omit the name= field.  It will break the infobox.</noinclude>
 
'''IMPORTANT:''' If you omit a field entirely, '''it will break the infobox'''. If you must, just leave the field blank, like this:
|appear=
</noinclude>

Revision as of 05:42, 16 July 2009

Character Infobox
Full name {{{name}}}

This is an infobox designed to be used on any character article. Template:

{{Character Infobox
|image=
|imgdesc=
|faction= <!-- Saracens?  Crusader?  Assassin?  Templar?  Knights Hospitalier? -->
|name=
|appear= <!-- Appears in what game? -->
|period= <!-- Third Crusade (AC1)?  Renaissance (AC2)?  2012 (AC1/AC2)? -->
}}

You can omit any field or leave it blank, and the entire field will not show in the end result. This includes the image= field. The exception is imgdesc=, because it will default to the page's name when left blank. Also, do not omit the name= field. It will break the infobox.