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 Fixing? |
imported>Thisismyrofl imgbg |
||
| Line 5: | Line 5: | ||
| colspan=2 align=center | {{#if: {{{icon|}}} | [[File:{{{icon}}}{{!}}left{{!}}{{{iconwidth|20}}}px]] '''<big>{{BASEPAGENAME}}</big>''' [[File:{{{icon}}}{{!}}right{{!}}{{{iconwidth|20}}}px]] | '''<big>{{BASEPAGENAME}}</big>''' }} | | colspan=2 align=center | {{#if: {{{icon|}}} | [[File:{{{icon}}}{{!}}left{{!}}{{{iconwidth|20}}}px]] '''<big>{{BASEPAGENAME}}</big>''' [[File:{{{icon}}}{{!}}right{{!}}{{{iconwidth|20}}}px]] | '''<big>{{BASEPAGENAME}}</big>''' }} | ||
|- | |- | ||
{{#if: {{{image|}}} | {{!}}colspan=2 align=center | {{#if: {{{image|}}} | {{!}}colspan=2 align=center{{!}}<p>[[Image:{{{image}}}{{!}}200px]]</p> | | ||
}} | }} | ||
|- style="font-size:90%" valign="top" | |- style="font-size:90%" valign="top" | ||
| Line 28: | Line 28: | ||
|}[[Category:Locations]]</includeonly><noinclude>{{Location Infobox | |}[[Category:Locations]]</includeonly><noinclude>{{Location Infobox | ||
|image= Example.jpg | |image= Example.jpg | ||
|icon= Assassins_Crest_White.svg | |icon= Assassins_Crest_White.svg | ||
|heldby= Held by | |heldby= Held by | ||
| Line 65: | Line 64: | ||
<pre> | <pre> | ||
|iconwidth = | |iconwidth = | ||
</pre> | </pre> | ||
;iconwidth=:The width of the icons flanking the large text at the top of the infobox. Defaults to 20 pixels. | ;iconwidth=:The width of the icons flanking the large text at the top of the infobox. Defaults to 20 pixels. | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> | ||
Revision as of 03:46, 3 August 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.
Advanced parameters
These are optional advanced parameters.
|iconwidth =
- iconwidth=
- The width of the icons flanking the large text at the top of the infobox. Defaults to 20 pixels.
