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
DAMN!
imported>Thisismyrofl
Let's try thata again...
Line 7: Line 7:
{{#if: {{{image|}}} | {{!}}colspan=2 align=center style="-moz-border-radius:3.5px; background:#ffffff"{{!}}<p>[[Image:{{{image}}}{{!}}200px]]</p>
{{#if: {{{image|}}} | {{!}}colspan=2 align=center style="-moz-border-radius:3.5px; background:#ffffff"{{!}}<p>[[Image:{{{image}}}{{!}}200px]]</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 {{!}} <p><hr></p> |
}}
}}
{{!}}-
{{!}}colspan=2 {{!}} <p><hr></p>
}}
}}
|- style="font-size:90%"
|- style="font-size:90%"
Line 69: Line 69:




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 exceptions are imgdesc= and name=, because they will default to the page's name when left blank.</noinclude>
You can omit any field or leave it blank, and the entire field will, in the end result, be cleanly omitted.  This includes the image= and imgdesc= fields.  The exception is name=, because it will default to the page's name when left blank.</noinclude>

Revision as of 22:39, 22 July 2009

Templars

This is an infobox designed to be used on any character article. For assassination targets, use this template instead. Template:

{{Character Infobox
|image= 
|imgdesc= 
|name= 
|arabic= 
|meaning= 
|faction= 
|appear= 
|period= 
}}
image=
The file to be used in the infobox. OMIT "File:" and wiki markup. [[File:Example.jpg]] becomes just Example.jpg
This template has been coded to account for if no image is given- the field is just left blank.
imgdesc=
The small text that will appear under the Image.
If field is left blank, it defaults to the name of the page. If no Image is given, no Image Description will show.
name=
The character's full name, in English.
If left blank, it defaults to the name of the page, not recommended if the page name is not the character's full name.
The name= field also determines what the large text at the top of the infobox reads. If no name is given, it too defaults to the page name.
arabic=
The character's name, in Arabic script (if available).
meaning=
The etymology (meaning) of the character's name. Example: "Altaïr" means "Eagle".
faction=
The character's faction (or factions).
appear=
In which game does the character appear?
period=
In which time period does the character appear? The Third Crusade (AC1)? Renaissance (AC2)? 2012 (AC1/AC2)?


You can omit any field or leave it blank, and the entire field will, in the end result, be cleanly omitted. This includes the image= and imgdesc= fields. The exception is name=, because it will default to the page's name when left blank.