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
Meaning
imported>Soranin
No edit summary
 
(69 intermediate revisions by 24 users not shown)
Line 1: Line 1:
<includeonly>{|style="width: 300px; background:tansparent; border: 1px #AAAAAA solid; float:right; padding: 6px; -moz-border-radius:7px;"
<infobox>
|
<title source="name"><default>{{PAGENAME}}</default></title>
{|style="width: 300px; float:right; background:transparent"
<image source="native"/>
|-
<image source="image"/>
| colspan=2 align=center | <big>'''{{{name|{{BASEPAGENAME}}}}}'''</big>
<navigation>{{#if:{{{image|}}}||Have an image of this character?<br />Then please '''[[Special:Upload|upload]]''' it!}}</navigation>
|-
<group>
{{#if: {{{image|}}} | {{!}}colspan=2 align=center style="-moz-border-radius:3.5px; background:#ffffff"{{!}}<p>[[Image:{{{image}}}{{!}}275px]]</p>
        <header>Biographical information</header>
{{!}}-
            <data source="birth"><label>Born</label></data>
{{!}}{{#if: {{{imgdesc|}}} | colspan=2 align=center {{!}} <small>{{{imgdesc}}}</small> | colspan=2 align=center {{!}} <small>{{BASEPAGENAME}}</small>
            <data source="death"><label>Died</label></data>
}}
            <data source="species"><label>Species</label></data>
{{!}}-
            <data source="database"><label>Database entries</label></data>
{{!}}colspan=2 {{!}} <p><hr></p>
</group>
}}
<group>
|-
        <header>Political information</header>
{{#if: {{{name|}}} | {{!}}'''Full name:''' {{!}}{{!}} align=right {{!}} {{{name}}}| {{!}}Name {{!!}} align=right {{!}} {{BASEPAGENAME}}
            <data source="affiliates"><label>Affiliations</label></data>
}}
    </group>
|-
</infobox>
{{#if: {{{arabic|}}} | {{!}}'''Name (Arabic):''' {{!}}{{!}} align=right {{!}} {{{arabic}}}|
<noinclude>{{Clear}}{{documentation}}</noinclude>
}}
|-
{{#if: {{{meaning|}}} | {{!}}'''Meaning of name:''' {{!}}{{!}} align=right {{!}} {{{meaning}}}|
}}
|-
{{#if: {{{faction|}}} | {{!}}'''Faction:''' {{!}}{{!}} align=right {{!}} {{{faction}}}|
}}
|-
{{#if: {{{location|}}} | {{!}}'''Location:''' {{!}}{{!}} align=right {{!}} {{{location}}}|
}}
|-
{{#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>

Latest revision as of 00:22, 16 August 2024

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Character_Infobox/doc to edit this documentation. (How does this work?)

Description[edit source]

This template is used for characters to show their attributes.

Syntax[edit source]

{{Character Infobox
|name=
|native=
|image=
|birth=
|death=
|species=
|database=
|affiliates=
}}

Usage[edit source]

name
The character's name.
native
An image of the character's name in their native written language, when explicitly provided by Ubisoft. Omit the "File:" part of the image. E.g. "Example.jpg", not "File:Example.jpg".
image
An image of the character. Omit the "File:" part of the image. E.g. "Example.jpg", not "File:Example.jpg".
birth
The character's date of birth.
death
The character's date of death.
species
The character's species.
database
The character's applicable database entries.
affiliates
The character's affiliations.