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

Template:X1: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>Thisismyrofl
No edit summary
imported>Thisismyrofl
No edit summary
Line 3: Line 3:
► ► ► ► ► DO NOT DELETE ANYTHING ABOVE THE </nοinclude>.  Feel free to edit anything after the </nοinclude>. ◄ ◄ ◄ ◄ ◄
► ► ► ► ► DO NOT DELETE ANYTHING ABOVE THE </nοinclude>.  Feel free to edit anything after the </nοinclude>. ◄ ◄ ◄ ◄ ◄


--></noinclude>
--></noinclude><includeonly>{|style="width: 300px; background:tansparent; border: 1px #AAAAAA solid; float:right; padding: 6px; -moz-border-radius:7px;"
{|class="collapsible collapsed" width="100%" style="border:0px; -moz-border-radius:7.5px; clear:both; "
|
! style="background:black; -moz-border-radius:3.25px;" align="center"|<div><font color="black">█████████</font><font style="font-size:150%">''Spoiler warning:''</font><br><font style="font-size:135%">{{{1|Plot or ending details follow.}}} Click [show] to view.</font></div>
{|style="width: 300px; float:right; background:transparent"
|-
| 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: {{{imgdesc|}}} | colspan=2 align=center {{!}} <small>{{{imgdesc}}}</small> | colspan=2 align=center {{!}} <small>{{BASEPAGENAME}}</small>
}}
{{!}}-
{{!}}colspan=2 {{!}} <p><hr></p>
}}
|- style="font-size:small"
{{#if: {{{name|}}} | {{!}}'''Full name:''' {{!}}{{!}} align=right {{!}} {{{name}}}| {{!}}Name {{!!}} align=right {{!}} {{BASEPAGENAME}}
}}
|-
{{#if: {{{arabic|}}} | {{!}}'''Name (Arabic):''' {{!}}{{!}} align=right {{!}} {{{arabic}}}|
}}
|-
{{#if: {{{meaning|}}} | {{!}}'''Meaning of name:''' {{!}}{{!}} align=right {{!}} {{{meaning}}}|
}}
|-
{{#if: {{{faction|}}} | {{!}}'''Faction:''' {{!}}{{!}} align=right {{!}} {{{faction}}}|
}}
|-
|-
|
{{#if: {{{location|}}} | {{!}}'''Location:''' {{!}}{{!}} align=right {{!}} {{{location}}}|
<noinclude>[[Category:Templates]]</noinclude>
}}
<includeonly>[[Category:Articles with Spoilers]]</includeonly>
|-
{{#if: {{{appear|}}} | {{!}}'''Appears in:''' {{!}}{{!}} align=right {{!}} {{{appear}}}|
}}
|-
{{#if: {{{period|}}} | {{!}}'''Time period:''' {{!}}{{!}} align=right {{!}} {{{period}}}|
}}
|-
|}
|}</includeonly><noinclude>{{Character Infobox
|image=Example.jpg
|imgdesc= Image Description
|name= Name
|arabic= العربية
|meaning= Meaning
|faction= Faction
|location= Location
|appear= Appearances
|period= Period
}}This is an infobox designed to be used on any character article.  Template:<br>
<pre>
{{Character Infobox
|image=
|imgdesc=
|name=
|arabic=
|meaning=
|faction=
|location=
|appear=
|period=
}}
</pre>
 
;image=:The file to be used in the infobox.  OMIT "File:" and wiki markup.  <tt><nowiki>[[File:Example.jpg]]</nowiki></tt> becomes just <tt><nowiki>Example.jpg</nowiki></tt>
: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).
;location=:The location of the character.  '''Only recommended for use on assassination targets.'''
;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 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>

Revision as of 01:18, 20 July 2009

This page is a sandbox template. Edit it however you want, then use it as a template.

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

{{Character Infobox
|image= 
|imgdesc= 
|name= 
|arabic= 
|meaning= 
|faction= 
|location= 
|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).
location=
The location of the character. Only recommended for use on assassination targets.
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 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.