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>Richard1990
No edit summary
imported>Soranin
No edit summary
 
(57 intermediate revisions by 22 users not shown)
Line 1: Line 1:
<includeonly>{|style="background:taansparent; border: 1px #AAAAAA solid; float:right; padding: 6px; -moz-border-radius:7px;"
<infobox>
|
<title source="name"><default>{{PAGENAME}}</default></title>
{|style="width: 250px; float:right; background:transparent"
<image source="native"/>
|-
<image source="image"/>
| colspan=2 align=center | '''<big>{{#if: {{{name|}}} | {{{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}}}{{!}}200px]]</p>
        <header>Biographical information</header>
{{!}}-
            <data source="birth"><label>Born</label></data>
{{!}} {{#if: {{{imgdesc|}}} |colspan=2 align=center style="border-bottom:1px solid #AAA" {{!}} <small>{{{imgdesc}}}</small>
            <data source="death"><label>Died</label></data>
}}
            <data source="species"><label>Species</label></data>
}}
            <data source="database"><label>Database entries</label></data>
|- style="font-size:90%" valign="top"
</group>
{{#if: {{{name|}}} | {{!}}'''Full name:''' {{!}}{{!}} align=right {{!}} {{{name}}}| {{!}}'''Name:''' {{!!}} align=right {{!}} {{BASEPAGENAME}}
<group>
}}
        <header>Political information</header>
|- style="font-size:90%" valign="top"
            <data source="affiliates"><label>Affiliations</label></data>
{{#if: {{{arabic|}}} | {{!}}'''Name (Arabic):''' {{!}}{{!}} align=right {{!}} {{{arabic}}}|
    </group>
}}
</infobox>
|- style="font-size:90%" valign="top"
<noinclude>{{Clear}}{{documentation}}</noinclude>
{{#if: {{{alias|}}} | {{!}}'''Aliases:''' {{!}}{{!}} align=right {{!}} {{{alias}}}|
}}
|- style="font-size:90%" valign="top"
{{#if: {{{meaning|}}} | {{!}}'''Meaning of name:''' {{!}}{{!}} align=right {{!}} {{{meaning}}}|
}}
|- style="font-size:90%" valign="top"
{{#if: {{{faction|}}} | {{!}}'''Faction:''' {{!}}{{!}} align=right {{!}} {{{faction}}}|
}}
|- style="font-size:90%" valign="top"
{{#if: {{{appear|}}} | {{!}}'''Appears in:''' {{!}}{{!}} align=right {{!}} {{{appear}}}|
}}
|- style="font-size:90%" valign="top"
{{#if: {{{period|}}} | {{!}}'''Time period:''' {{!}}{{!}} align=right {{!}} {{{period}}}|
}}
|- style="font-size:90%" valign="top"
{{#if: {{{voice|}}} | {{!}}'''Voice actor''' {{!}}{{!}} align=right {{!}} {{{voice}}}|
}}
|}
|}</includeonly><noinclude>{{Character Infobox
|image= Example.jpg
|imgdesc= Image Description
|name= Name
|arabic= العربية
|alias= Example
|meaning= Meaning
|faction= Faction
|appear= Appearances
|period= Period
|voice= Voice actor
}}This is an infobox designed to be used on any character article.  For assassination targets, use [[:Template:Target Infobox|this template]] instead.  Template:<br>
<pre>
{{Character Infobox
|image=
|imgdesc=
|name=
|arabic=
|alias=
|meaning=
|faction=
|appear=
|period=
|voice=
}}
</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).
;alias=:Other names the character may go by.  Do not include their name in Arabic, or the meaning of their name.  Put those in arabic= and meaning=.
;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)?
;voice=:The actor who voices that character.
 
 
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.[[Category:Infobox templates]]</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.