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

Template:Faction Infobox: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>Weas-El
added margin bottom and left, minor cleanup
imported>Jasca Ducato
updating infobox parameters
Line 1: Line 1:
<includeonly>{|style="background:transparent; border:1px #AAAAAA solid; float:right; padding:6px; -moz-border-radius:7px; margin:0 0 0.5em 0.5em;"
{| class="infobox" style="float:right; width:264px; font-size:90%; text-align:left; -moz-border-radius:7px; background:transparent; padding:6px;" cellspacing="0" cellpadding="3"
|
{|style="width:250px; float:right; background:transparent;"
|-
|-
| colspan="2" align="center" | '''<big>{{BASEPAGENAME}}</big>'''
! colspan="2" style="font-size:130%; text-align:center;" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
|-
{{#if: {{{image|}}} | {{!}}colspan="2" align="center" style="-moz-border-radius:3.5px; background:transparent;"{{!}}<p>[[Image:{{{image}}}{{!}}{{{imgwidth|200}}}px]]</p>
| colspan="2" style="text-align:center; border-bottom:1px solid #AAA;" | {{#if:{{{image|}}}|[[File:{{{image}}}{{!}}250px]]|Have an emblem for this faction?<br />Then please '''[[Special:Upload|upload]]''' it!}}{{#if:{{{imgdesc|}}}|<br />{{{imgdesc}}}}}
|-
{{#if:{{{hideo|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="text-align:left; background: #{{#if:705C5C|705C5C|E55}}" {{!}} '''Organisational&nbsp;information'''}}
{{#if:{{{founder|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Founder'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{founder|}}}
{{!}}-
|}}{{#if:{{{leader|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Leaders title'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{leader|}}}
{{!}}-
|}}{{#if:{{{headquarters|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Headquarters'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{headquarters|}}}
{{!}}-
{{!}}-
{{!}} {{#if: {{{imgdesc|}}} |colspan="2" align="center" {{!}} <small>{{{imgdesc}}}</small>
|}}{{#if:{{{locations|}}}|
{{!}}-
{{!}}-
{{!}}colspan=2 {{!}} <p><hr></p> |
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Locations'''''
}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
}}
{{{locations|}}}
|- style="font-size:90%" valign="top"
{{#if: {{{game|}}} | {{!}}'''Appears in:''' {{!}}{{!}} align="right" {{!}} {{{game}}}|
}}
|- style="font-size:90%" valign="top"
{{#if: {{{religion|}}} | {{!}}'''Religion:''' {{!}}{{!}} align="right" {{!}} {{{religion}}}|
}}
|- style="font-size:90%" valign="top"
{{#if: {{{nationality|}}} | {{!}}'''Nationality:''' {{!}}{{!}} align="right" {{!}} {{{nationality}}}|
}}
|- style="font-size:90%" valign="top"
{{#if: {{{location|}}} | {{!}}'''Location:''' {{!}}{{!}} align="right" {{!}} {{{location}}}|
}}
|- style="font-size:90%" valign="top"
{{#if: {{{targets|}}} | {{!}} style="border-top:1px solid silver" colspan="2" {{!}} '''Assassination targets:'''
{{!}}-
{{!}}-
{{!}} align="center" colspan="2" {{!}} {{{targets}}} | }}
|}}{{#if:{{{related|}}}|
|-
{{!}}-
|}
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Related organisations'''''
|}[[Category:Factions]]</includeonly><noinclude>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{Faction Infobox
{{{related|}}}
|image= Example.jpg
{{!}}-
|imgdesc= Image Description
|}}{{#if:{{{religion|}}}|
|religion= Religion
{{!}}-
|nationality= Nationality
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Religion'''''
|location= Location
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
|targets= Assassination targets
{{{religion|}}}
|game= Appears in
{{!}}-
}}
|}}{{#if:{{{hideh|}}}|{{!}}-|{{!}}-
This is an infobox designed to be used on articles about factions.
! class="infoboxsubheading" colspan="2" style="text-align:left; background: #{{#if:705C5C|705C5C|E55}}" {{!}} '''Historical&nbsp;information'''}}
 
{{#if:{{{formed|}}}|
Copy this:
{{!}}-
<pre>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Date formed'''''
{{Faction Infobox
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
|image      =
{{{formed|}}}
|imgdesc    =  
{{!}}-
|imgwidth    =  
|}}{{#if:{{{reorganised|}}}|
|religion    =
{{!}}-
|nationality =
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Date reorganised'''''
|location    =
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
|targets    =
{{{reorganised|}}}
|game        =
{{!}}-
}}
|}}{{#if:{{{collapsed|}}}|
</pre>
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Date collapsed'''''
;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>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
:This template has been coded to account for if no image is given- the field is just left blank.
{{{collapsed|}}}
;imgdesc=:The small text that will appear under the Image.
{{!}}-
;imgwidth=:The width of the image, in pixels. Defaults to 200.
|}}{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
:If field is left blank, it defaults to the name of the page. If no Image is given, no Image Description will show.
! class="infoboxsubheading" colspan="2" style="text-align:left; background: #{{#if:705C5C|705C5C|E55}}" {{!}} '''Additional&nbsp;information'''}}
;religion=:The religious affiliation of the faction.
{{#if:{{{notable|}}}|
;nationality=:The nationality of the faction.
{{!}}-
;location=:The locations in which members of the faction may be found.
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Notable members'''''
;targets=:Assassination targets who are members of this faction.
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
;game=:The game(s) in which this faction appears.
{{{notable|}}}
 
{{!}}-
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.
|}}
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
|}<div class="infoboxfooter plainlinks" style="text-align: center |background:transparent|background: #705C5C}}"><span class="hidable-button"></span></div>
<noinclude>{{clear}}{{documentation}}</noinclude>

Revision as of 18:23, 24 October 2010

Faction Infobox
Have an emblem for this faction?
Then please upload it!
Organisational information
Historical information
Additional information
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Faction_Infobox/doc to edit this documentation. (How does this work?)

Usage

{{Faction infobox
|name=
|image=
|website=<!-- http://www.example.com -->
|founder=
|leader=
|headquarters=
|locations=
|parent=
|predecessor=
|successor=
|subsidiaries=
|religion=
|active=
|}}

Syntax

name
The faction's name.
image
An image of the faction's emblem. Omit the "File:" part of the image. E.g. "Example.jpg", not "File:Example.jpg".
website
A hyperlink to the faction's website, if applicable
founder
The faction's founder(s)
leader
The title of the faction's leader
headquarters
Location of faction's headquarters
parent
The faction's parent organization
predecessor
Any predecessor organizations
successor
Any successor organizations
subsidiaries
Any subsidiary organizations
religion
The faction's religion
active
The dates during which the faction was active, from its formation to any applicable collapses and subsequent reorganizations.