Welcome to Assassin's Creed Wiki! Log in and join the community.
Template:Location Infobox: Difference between revisions
Jump to navigation
Jump to search
imported>Thisismyrofl Created infobox |
imported>Thisismyrofl No edit summary |
||
| Line 3: | Line 3: | ||
{|style="width: 250px; float:right; background:transparent" | {|style="width: 250px; float:right; background:transparent" | ||
|- | |- | ||
| colspan=2 align=center | | | colspan=2 align=center | {{#if: {{{icon|}}} | [[File:{{{icon}}}{{!}}20px]] '''<big>{{BASEPAGENAME}}</big>''' [[File:{{{icon}}}{!}}20px]] | '''<big>{{BASEPAGENAME}}</big>''' }} | ||
|- | |- | ||
{{#if: {{{image|}}} | {{!}}colspan=2 align=center style="-moz-border-radius:3.5px; background:#ffffff"{{!}}<p>[[Image:{{{image}}}{{!}}200px]]</p> | | {{#if: {{{image|}}} | {{!}}colspan=2 align=center style="-moz-border-radius:3.5px; background:#ffffff"{{!}}<p>[[Image:{{{image}}}{{!}}200px]]</p> | | ||
| Line 11: | Line 11: | ||
}} | }} | ||
|- style="font-size:90%" valign="top" | |- style="font-size:90%" valign="top" | ||
{{#if: {{{factions|}}} | {{!}}''' | {{#if: {{{factions|}}} | {{!}}'''Other factions:''' {{!}}{{!}} align=right {{!}} {{{factions}}}| | ||
}} | }} | ||
|- style="font-size:90%" valign="top" | |- style="font-size:90%" valign="top" | ||
| Line 26: | Line 26: | ||
|}[[Category:Characters]]</includeonly><noinclude>{{Location Infobox | |}[[Category:Characters]]</includeonly><noinclude>{{Location Infobox | ||
|image= Example.jpg | |image= Example.jpg | ||
|icon= Damascus.svg | |||
|heldby= Held by | |heldby= Held by | ||
|factions= Factions | |factions= Factions | ||
| Line 35: | Line 36: | ||
{{Location Infobox | {{Location Infobox | ||
|image = | |image = | ||
|icon = | |||
|heldby = | |heldby = | ||
|factions = | |factions = | ||
| Line 45: | Line 47: | ||
;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> | ;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. | :This template has been coded to account for if no image is given- the field is just left blank. | ||
;icon=:The file to be used in the small pictures on either side of the name at the top of the infobox. OMIT "File:" and wiki markup. <tt><nowiki>[[File:Example.svg]]</nowiki></tt> becomes just <tt><nowiki>Example.svg</nowiki></tt> | |||
:This template has been coded to account for if no icon is given- the field is just left blank. | |||
;heldby=:Is the area currently controlled by Assassins, Saracens, Crusaders, or disputed? | ;heldby=:Is the area currently controlled by Assassins, Saracens, Crusaders, or disputed? | ||
;factions=:The factions who can be found in the city. | ;factions=:The factions who can be found in the city. | ||
Revision as of 00:18, 28 July 2009
| ||||||||||||||
This is an infobox designed to be used on articles about locations. To use, copy this:
{{Location Infobox
|image =
|icon =
|heldby =
|factions =
|targets =
|flags =
|seenin =
}}
- 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.
- icon=
- The file to be used in the small pictures on either side of the name at the top of the infobox. OMIT "File:" and wiki markup. [[File:Example.svg]] becomes just Example.svg
- This template has been coded to account for if no icon is given- the field is just left blank.
- heldby=
- Is the area currently controlled by Assassins, Saracens, Crusaders, or disputed?
- factions=
- The factions who can be found in the city.
- targets=
- The assassination targets found in the city.
- flags=
- Which flags are found in the city?
- seenin=
- In which game does the city appear?
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.
