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>Richard1990
simpler coding
Line 1: Line 1:
<includeonly>{|style="background:taansparent; border: 1px #AAAAAA solid; float:right; padding: 6px; -moz-border-radius:7px;"
{| class="infobox" style="float:right; width:264px; font-size:90%; text-align:left; -moz-border-radius:7px; background:transparent; padding:6px;" cellspacing="0" cellpadding="3"
|
{|style="width: 250px; float:right; background:transparent"
|-
|-
| colspan=2 align=center | '''<big>{{#if: {{{name|}}} | {{{name}}} | {{BASEPAGENAME}} }}</big>'''
! colspan="2" style="font-size:130%; text-align:center;" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
|-
{{#if: {{{image|}}} | {{!}}colspan=2 align=center style="-moz-border-radius:3.5px; background:#ffffff"{{!}}<p>[[Image:{{{image}}}{{!}}200px]]</p>
| colspan="2" style="text-align:center; border-bottom:1px solid #AAA;" | {{#if:{{{image|}}}|[[File:{{{image}}}{{!}}250px]]|Have an image of this character?<br />Then please '''[[Special:Upload|upload]]''' it!}}{{#if:{{{imgdesc|}}}|<br />{{{imgdesc}}}}}
|-
{{#if:{{{name<includeonly>|</includeonly>}}} |
{{!}}'''Full name'''
{{!}}{{{name}}}
{{!}}-
{{!}}-
{{!}} {{#if: {{{imgdesc|}}} |colspan=2 align=center style="border-bottom:1px solid #AAA" {{!}} <small>{{{imgdesc}}}</small>
}}
}}
|-
{{#if:{{{arabic<includeonly>|</includeonly>}}} |
{{!}}'''Arabic name'''
{{!}}{{{arabic}}}
{{!}}-
}}
}}
|- style="font-size:90%" valign="top"
{{#if:{{{alias<includeonly>|</includeonly>}}} |
{{#if: {{{name|}}} | {{!}}'''Full name:''' {{!}}{{!}} align=right {{!}} {{{name}}}| {{!}}'''Name:''' {{!!}} align=right {{!}} {{BASEPAGENAME}}
{{!}}'''Alias(es)'''
{{!}}{{{alias}}}
{{!}}-
}}
}}
|- style="font-size:90%" valign="top"
{{#if:{{{meaning<includeonly>|</includeonly>}}} |
{{#if: {{{arabic|}}} | {{!}}'''Name (Arabic):''' {{!}}{{!}} align=right {{!}} {{{arabic}}}|
{{!}}'''Name's meaning'''
{{!}}{{{meaning}}}
{{!}}-
}}
}}
|- style="font-size:90%" valign="top"
{{#if:{{{faction<includeonly>|</includeonly>}}} |
{{#if: {{{alias|}}} | {{!}}'''Aliases:''' {{!}}{{!}} align=right {{!}} {{{alias}}}|
{{!}}'''Faction'''
{{!}}{{{faction}}}
{{!}}-
}}
}}
|- style="font-size:90%" valign="top"
{{#if:{{{appear<includeonly>|</includeonly>}}} |
{{#if: {{{meaning|}}} | {{!}}'''Meaning of name:''' {{!}}{{!}} align=right {{!}} {{{meaning}}}|
{{!}}'''Appears in'''
{{!}}{{{appear}}}
{{!}}-
}}
}}
|- style="font-size:90%" valign="top"
{{#if:{{{period<includeonly>|</includeonly>}}} |
{{#if: {{{faction|}}} | {{!}}'''Faction:''' {{!}}{{!}} align=right {{!}} {{{faction}}}|
{{!}}'''Time period'''
{{!}}{{{period}}}
{{!}}-
}}
}}
|- style="font-size:90%" valign="top"
{{#if:{{{voice<includeonly>|</includeonly>}}} |
{{#if: {{{appear|}}} | {{!}}'''Appears in:''' {{!}}{{!}} align=right {{!}} {{{appear}}}|
{{!}}'''Voice actor'''
}}
{{!}}{{{voice}}}
|- 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>
|}<noinclude>
 
{{documentation}}</noinclude>
;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>

Revision as of 20:31, 24 November 2009

Character Infobox
Have an image of this character?
Then please upload it!
Full name {{{name}}}
Arabic name {{{arabic}}}
Alias(es) {{{alias}}}
Name's meaning {{{meaning}}}
Faction {{{faction}}}
Appears in {{{appear}}}
Time period {{{period}}}
Voice actor {{{voice}}}
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

This template is used for characters to show their attributes.

Syntax

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

Usage

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.