Difference between revisions of "Template:Faction Infobox"

From Discovery Wiki
Jump to navigationJump to search
(Changed affiliation option to disappear when not filled)
m
Line 67: Line 67:
 
{{!}} colspan="2" class="infobox-section" {{!}} Secondary role
 
{{!}} colspan="2" class="infobox-section" {{!}} Secondary role
 
{{!}}-
 
{{!}}-
{{!}} colspan="2" {{!}} {{{secondary_role}}} }}
+
{{!}} colspan="2" {{!}} {{{secondary_role}}}
 +
}}{{#if: {{{TOC|}}} | <nowiki />
 +
{{!}}-
 +
{{!}} colspan="2" class="infobox-section" | Table of Contents
 +
{{!}}-
 +
{{!}} colspan="2" class="infoboxtoc" | __TOC__
 +
}}
 
|}
 
|}
 
[[Category: Factions]]{{#if: {{{image|}}} | | [[Category: Factions without profile images]]}}
 
[[Category: Factions]]{{#if: {{{image|}}} | | [[Category: Factions without profile images]]}}

Revision as of 10:28, 1 October 2011

Other Templates available to read:

The Basics  • Ships  • Factions  • Bases  • Planets  • Systems  • Commodities


Usage

{{Faction Infobox
| name = 
| server = GC 
| type = 
| affiliation = 
| image = 
| imgsz =
| origin = 
| alignment = 
| founding_date = 
| dissolution_date = 
| leader = 
| founder = 
| primary_role = 
| secondary_role = 
| base = 
}}

"Alignment" can be one of these:

  • LAWFUL
  • UNLAWFUL
  • QUASI-LEGAL
  • CORPORATION
  • INDEPENDENT

"Server" can be one of these choices:

  • GC (Default)
  • UK
  • USA
  • DOD
  • BERLIN
  • F7
  • FLAW
  • DELTA

(Currently does nothing, but leave it as GC for all factions that are on the Discovery GC server)

"Type" can be

  • NPC
  • OFFICIAL
  • GROUP

(Currently does nothing, but mark it as whichever is correct.)

Example

{{Faction Infobox
| name = Red Hessians
| server = GC 
| type = NPC
| affiliation = [[Red Hessians]]
| image = Freital.jpg
| imgsz =
| origin = {{House Link | Rheinland}}
| alignment = UNLAWFUL
| founding_date = 700
| dissolution_date = 
| leader = 
| founder = 
| primary_role = Liberation of Rheinland
| secondary_role = Undermining corrupt Rheinland corporations, containing the Corsair expansion
| base = [[Vogtland Base]], [[Dresden]]
}}

Note: The imgsz variable allows you to specify the size an image is displayed at (Example: 128px) and is best used to keep an image from being stretched and distorted. If no value is placed in this field the image will be sized to the default value of 264px.

Result

Red Hessians
Origin Flag-rheinland.png Rheinland
Affiliation Red Hessians
Alignment Unlawful
Profile
Date of founding 700 A.S.
Founder(s) unknown
Base of operations Vogtland Base, Dresden
Primary role
Liberation of Rheinland
Secondary role
Undermining corrupt Rheinland corporations, containing the Corsair expansionTable of Contents
colspan="2" class="infoboxtoc"