Welcome to Assassin's Creed Wiki! Log in and join the community.

Template:Location Infobox: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>Thisismyrofl
No edit summary
imported>Thisismyrofl
Fixing?
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 style="-moz-border-radius:3.5px; background:{{#if: {{{imgbg|}}} | {{{imgbg}}} | #ffffff}}"{{!}}<p>[[Image:{{{image}}}{{!}}200px]]</p> |  
{{#if: {{{image|}}} | {{!}}colspan=2 align=center style="-moz-border-radius:3.5px; background:"{{#if: {{{imgbg|}}} | {{{imgbg}}} | #ffffff}}"{{!}}<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
|imgbg=
|icon= Assassins_Crest_White.svg
|icon= Assassins_Crest_White.svg
|heldby= Held by
|heldby= Held by

Revision as of 03:39, 3 August 2009

File:Assassins Crest White.svg
Location Infobox
File:Assassins Crest White.svg
colspan=2 align=center style="-moz-border-radius:3.5px; background:"
  1. ffffff"|

Controlled by: Held by
Other factions: Factions
Flags: Flags
Seen in: Appearances
Assassination targets:
Targets

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 =
|imgbg     =
iconwidth=
The width of the icons flanking the large text at the top of the infobox. Defaults to 20 pixels.
imgbg=
The background of the large image. Defaults to white.