Welcome to Assassin's Creed Wiki! Log in and join the community.
Template:Character Infobox: Difference between revisions
Jump to navigation
Jump to search
imported>Thisismyrofl No edit summary |
imported>Thisismyrofl Added fields, fixes, instructions. |
||
| Line 1: | Line 1: | ||
{|style="width: 300px; background:tansparent; border: 1px #AAAAAA solid; float:right; padding: 6px; -moz-border-radius:7px;" | {{Character Infobox | ||
|image=Example.jpg | |||
|imgdesc= Image Description | |||
|name= Name | |||
|arabic= العربية | |||
|faction= Faction | |||
|location= Location | |||
|appear= Appearances | |||
|period= Period | |||
}}<includeonly>{|style="width: 300px; background:tansparent; border: 1px #AAAAAA solid; float:right; padding: 6px; -moz-border-radius:7px;" | |||
| | | | ||
{|style="width: 300px; float:right; background:transparent" | {|style="width: 300px; float:right; background:transparent" | ||
| Line 13: | Line 22: | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{name|}}} | {{!}}Full name {{!}}{{!}} align=right {{!}} {{{name}}}| {{!}}Name {{!!}} align=right {{!}} {{BASEPAGENAME}} | {{#if: {{{name|}}} | {{!}}'''Full name:''' {{!}}{{!}} align=right {{!}} {{{name}}}| {{!}}Name {{!!}} align=right {{!}} {{BASEPAGENAME}} | ||
}} | |||
|- | |||
{{#if: {{{arabic|}}} | {{!}}'''Name (Arabic):''' {{!}}{{!}} align=right {{!}} {{{arabic}}}| | |||
}} | |||
|- | |||
{{#if: {{{faction|}}} | {{!}}'''Faction:''' {{!}}{{!}} align=right {{!}} {{{faction}}}| | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{location|}}} | {{!}}'''Location:''' {{!}}{{!}} align=right {{!}} {{{location}}}| | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{appear|}}} | {{!}}Appears in {{!}}{{!}} align=right {{!}} {{{appear}}}| | {{#if: {{{appear|}}} | {{!}}'''Appears in:''' {{!}}{{!}} align=right {{!}} {{{appear}}}| | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{period|}}} | {{!}}Time period {{!}}{{!}} align=right {{!}} {{{period}}}| | {{#if: {{{period|}}} | {{!}}'''Time period:''' {{!}}{{!}} align=right {{!}} {{{period}}}| | ||
}} | }} | ||
|- | |- | ||
|} | |} | ||
|}<noinclude> | |}</includeonly><noinclude> | ||
This is an infobox designed to be used on any character article. Template:<br> | This is an infobox designed to be used on any character article. Template:<br> | ||
<pre> | <pre> | ||
{{Character Infobox | {{Character Infobox | ||
|image= | |image= | ||
|imgdesc= | |imgdesc= | ||
|faction= | |name= | ||
| | |arabic= | ||
|appear= | |faction= | ||
|period= | |location | ||
|appear= | |||
|period= | |||
}} | }} | ||
</pre> | </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. | |||
;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. | 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. | ||
Revision as of 10:04, 16 July 2009
Template loop detected: Template:Character Infobox{|style="width: 300px; background:tansparent; border: 1px #AAAAAA solid; float:right; padding: 6px; -moz-border-radius:7px;" |
| Name | |
| Image Description | |
| Full name: | Name |
| Name (Arabic): | العربية |
| Faction: | Faction |
| Location: | Location |
| Appears in: | Appearances |
| Time period: | Period |
|}
This is an infobox designed to be used on any character article. Template:
{{Character Infobox
|image=
|imgdesc=
|name=
|arabic=
|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.
- 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.
