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>Thisismyrofl
No edit summary
imported>UJ112013
"caption1"?... "caption" should enough for
 
(55 intermediate revisions by 21 users not shown)
Line 1: Line 1:
<includeonly>{|style="background:taansparent; border: 1px #AAAAAA solid; float:right; padding: 6px; -moz-border-radius:7px;"
<infobox>
|
<title source="name"><default>{{PAGENAME}}</default></title>
{|style="width: 250px; float:right; background:transparent"
<image source="image"><caption source="caption"/></image>
|-
<data source="website"><label>Website</label></data>
| colspan=2 align=center | '''<big>{{BASEPAGENAME}}</big>'''
<group>
|-
        <header>Organizational information</header>
{{#if: {{{image|}}} | {{!}}colspan=2 align=center style="-moz-border-radius:3.5px; background:transparent"{{!}}<p>[[Image:{{{image}}}{{!}}200px]]</p>
            <data source="founder"><label>Founder(s)</label></data>
{{!}}-
            <data source="leader"><label>Leader's title</label></data>
{{!}} {{#if: {{{imgdesc|}}} |colspan=2 align=center {{!}} <small>{{{imgdesc}}}</small>
            <data source="headquarters"><label>Operational center</label></data>
{{!}}-
            <data source="locations"><label>Locations</label></data>
{{!}}colspan=2 {{!}} <p><hr></p> |
            <data source="parent"><label>Parent</label></data>
}}
            <data source="predecessor"><label>Predecessor(s)</label></data>
}}
            <data source="successor"><label>Successor(s)</label></data>
|- style="font-size:90%" valign="top"
            <data source="subsidiaries"><label>Subsidiaries</label></data>
{{#if: {{{game|}}} | {{!}}'''Appears in:''' {{!}}{{!}} align=right {{!}} {{{game}}}|
            <data source="religion"><label>Religion</label></data>
}}
</group>
|- style="font-size:90%" valign="top"
<group>
{{#if: {{{religion|}}} | {{!}}'''Religion:''' {{!}}{{!}} align=right {{!}} {{{religion}}}|
        <header>Historical information</header>
}}
            <data source="active"><label>Active</label></data>
|- style="font-size:90%" valign="top"
    </group>
{{#if: {{{nationality|}}} | {{!}}'''Nationality:''' {{!}}{{!}} align=right {{!}} {{{nationality}}}|
</infobox>
}}
<noinclude>{{Clear}}{{documentation}}</noinclude>
|- 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}}} | }}
|-
|}
|}[[Category:Factions]]</includeonly><noinclude>{{Faction Infobox
|image= Example.jpg
|imgdesc= Image Description
|religion= Religion
|nationality= Nationality
|location= Location
|targets= Assassination targets
|game= Appears in
}}This is an infobox designed to be used on articles about factions.
 
Copy this:<br>
<pre>
{{Faction Infobox
|image      =
|imgdesc    =
|religion    =
|nationality =
|location    =
|targets    =
|game        =
}}
</pre>
 
;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.
;imgdesc=:The small text that will appear under the Image.
: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.
[[Category:Infobox templates]]</noinclude>

Latest revision as of 10:34, 29 May 2025

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[edit source]

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

Syntax[edit source]

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.