Welcome to Assassin's Creed Wiki! Log in and join the community.
Template:Faction Infobox: Difference between revisions
Jump to navigation
Jump to search
imported>Thisismyrofl No edit summary |
imported>Thisismyrofl width |
||
| Line 5: | Line 5: | ||
| colspan=2 align=center | '''<big>{{BASEPAGENAME}}</big>''' | | colspan=2 align=center | '''<big>{{BASEPAGENAME}}</big>''' | ||
|- | |- | ||
{{#if: {{{image|}}} | {{!}}colspan=2 align=center style="-moz-border-radius:3.5px; background:transparent"{{!}}<p>[[Image:{{{image}}}{{!}} | {{#if: {{{image|}}} | {{!}}colspan=2 align=center style="-moz-border-radius:3.5px; background:transparent"{{!}}<p>[[Image:{{{image}}}{{!}}{{{imgwidth|200}}}px]]</p> | ||
{{!}}- | {{!}}- | ||
{{!}} {{#if: {{{imgdesc|}}} |colspan=2 align=center {{!}} <small>{{{imgdesc}}}</small> | {{!}} {{#if: {{{imgdesc|}}} |colspan=2 align=center {{!}} <small>{{{imgdesc}}}</small> | ||
| Line 45: | Line 45: | ||
|image = | |image = | ||
|imgdesc = | |imgdesc = | ||
|religion = | |imgwidth = | ||
|religion = | |||
|nationality = | |nationality = | ||
|location = | |location = | ||
| Line 56: | Line 57: | ||
: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. | ||
;imgdesc=:The small text that will appear under the Image. | ;imgdesc=:The small text that will appear under the Image. | ||
;imgwidth=:The width of the image, in pixels. Defaults to 200. | |||
:If field is left blank, it defaults to the name of the page. If no Image is given, no Image Description will show. | :If field is left blank, it defaults to the name of the page. If no Image is given, no Image Description will show. | ||
;religion=:The religious affiliation of the faction. | ;religion=:The religious affiliation of the faction. | ||
Revision as of 07:47, 16 November 2009
| ||||||||||||||||||||
This is an infobox designed to be used on articles about factions.
Copy this:
{{Faction Infobox
|image =
|imgdesc =
|imgwidth =
|religion =
|nationality =
|location =
|targets =
|game =
}}
- 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.
- imgwidth=
- The width of the image, in pixels. Defaults to 200.
- If field is left blank, it defaults to the name of the page. If no Image is given, no Image Description will show.
- religion=
- The religious affiliation of the faction.
- nationality=
- The nationality of the faction.
- location=
- The locations in which members of the faction may be found.
- targets=
- Assassination targets who are members of this faction.
- game=
- The game(s) in which this faction appears.
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.
