YellowWarningTriangle.png This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date.

Difference between revisions of "Template:Faction Infobox"

From Discovery Wiki
Jump to navigationJump to search
(Undo revision 54571 by Arthur (talk))
(Merging with Template:Faction Infobox2.)
Line 11: Line 11:
 
|-
 
|-
 
| class="infobox-data-title" style="width: 110px;" | '''Origin'''
 
| class="infobox-data-title" style="width: 110px;" | '''Origin'''
| style="padding-right: 1em;" | {{#if: {{{origin|}}}
+
| style="padding-right: 1em;" | {{#if: {{{origin|}}} | {{#switch: {{{origin}}}
| {{{origin}}}
+
| outcast = {{House Link | Outcasts | long}}
| ''unknown''
+
| Outcast = {{House Link | Outcasts | long}}
 +
| outcasts = {{House Link | Outcasts | long}}
 +
| Outcasts = {{House Link | Outcasts | long}}
 +
| corsair = {{House Link | Corsairs | long}}
 +
| Corsair = {{House Link | Corsairs | long}}
 +
| corsairs = {{House Link | Corsairs | long}}
 +
| Corsairs = {{House Link | Corsairs | long}}
 +
| liberty = {{House Link | Liberty | long}}
 +
| Liberty = {{House Link | Liberty | long}}
 +
| kusari = {{House Link | Kusari | long}}
 +
| Kusari = {{House Link | Kusari | long}}
 +
| rheinland = {{House Link | Rheinland | long}}
 +
| Rheinland = {{House Link | Rheinland | long}}
 +
| bretonia = {{House Link | Bretonia | long}}
 +
| Bretonia = {{House Link | Bretonia | long}}
 +
| gallia = {{House Link | Gallia | long}}
 +
| Gallia = {{House Link | Gallia | long}}
 +
| Nomads = {{House Link | Nomads | long}}
 +
| #default = {{{origin}}}}}
 
}}
 
}}
 
{{#if: {{{affiliation|}}}
 
{{#if: {{{affiliation|}}}
Line 58: Line 76:
 
| {{{base}}}
 
| {{{base}}}
 
| ''unknown''
 
| ''unknown''
 +
}}{{#if: {{{base2|}}} | <nowiki />
 +
{{!}}-
 +
{{!}} class="infobox-data-title" {{!}} '''Secondary Base'''
 +
{{!}} style="padding-right: 1em;" {{!}} {{{base2}}}
 +
}}{{#if: {{{primaryID|}}} {{{secondaryID|}}} {{{IFF|}}} {{{tag|}}} | <nowiki />
 +
{{!}}-
 +
{{!}}  colspan="2" class="infobox-section" {{!}} '''Identification'''
 +
}}{{#if: {{{primaryID|}}} | <nowiki />
 +
{{!}}-
 +
{{!}} class="infobox-data-title" {{!}}  '''Primary ID'''
 +
{{!}} style="padding-right: 1em;" {{!}} [[{{{primaryID}}} ID]]
 +
}}{{#if: {{{secondaryID|}}} | <nowiki />
 +
{{!}}-
 +
{{!}} class="infobox-data-title" {{!}}  '''Secondary ID'''
 +
{{!}} style="padding-right: 1em;" {{!}} [[{{{secondaryID}}} ID]]
 +
}}{{#if: {{{IFF|}}} | <nowiki />
 +
{{!}}-
 +
{{!}} class="infobox-data-title" {{!}} '''IFF'''
 +
{{!}} style="padding-right: 1em;" {{!}} {{{IFF}}}
 +
}}{{#if: {{{tag|}}} | <nowiki />
 +
{{!}}-
 +
{{!}} class="infobox-data-title" {{!}} '''Tag(s)'''
 +
{{!}} style="padding-right: 1em;" {{!}} <nowiki />{{{tag}}}
 
}}{{#if: {{{primary_role|}}} | <nowiki />
 
}}{{#if: {{{primary_role|}}} | <nowiki />
 
{{!}}-
 
{{!}}-
Line 90: Line 131:
 
| secondary_role =  
 
| secondary_role =  
 
| base =  
 
| base =  
 +
| base2 =
 +
| primaryID =
 +
| secondaryID =
 +
| IFF =
 +
| tag =
 +
| recruitment =
 +
| toc =
 
}}</pre>
 
}}</pre>
  
Line 133: Line 181:
 
| secondary_role = Undermining corrupt Rheinland corporations, containing the Corsair expansion
 
| secondary_role = Undermining corrupt Rheinland corporations, containing the Corsair expansion
 
| base = [[Vogtland Base]], [[Dresden]]
 
| base = [[Vogtland Base]], [[Dresden]]
 +
| base2 = [[Freital Base]], [[Omega-11]]
 +
| primaryID = Red Hessian
 +
| secondaryID = Smuggler
 +
| IFF = Hessians
 +
| tag = [RHA]
 +
| recruitment = http://discoverygc.com/forums/index.php?showtopic=36136
 +
| toc = yes
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 
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.
 
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.
Line 143: Line 198:
 
| affiliation = [[Red Hessians]]
 
| affiliation = [[Red Hessians]]
 
| image = Freital.jpg
 
| image = Freital.jpg
| imgsz =  
+
| imgsz =
 
| origin = {{House Link | Rheinland}}
 
| origin = {{House Link | Rheinland}}
 
| alignment = UNLAWFUL
 
| alignment = UNLAWFUL
 
| founding_date = 700
 
| founding_date = 700
| dissolution_date =
+
| dissolution_date =  
 
| leader =  
 
| leader =  
 
| founder =  
 
| founder =  
Line 153: Line 208:
 
| secondary_role = Undermining corrupt Rheinland corporations, containing the Corsair expansion
 
| secondary_role = Undermining corrupt Rheinland corporations, containing the Corsair expansion
 
| base = [[Vogtland Base]], [[Dresden]]
 
| base = [[Vogtland Base]], [[Dresden]]
 +
| base2 = [[Freital Base]], [[Omega-11]]
 +
| primaryID = Red Hessian
 +
| secondaryID = Smuggler
 +
| IFF = Hessians
 +
| tag = [RHA]
 +
| recruitment = http://discoverygc.com/forums/index.php?showtopic=36136
 +
| toc = yes
 
}}
 
}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 18:35, 24 January 2012

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 = 
| base2 = 
| primaryID = 
| secondaryID = 
| IFF = 
| tag = 
| recruitment = 
| toc = 
}}

"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]]
| base2 = [[Freital Base]], [[Omega-11]]
| primaryID = Red Hessian
| secondaryID = Smuggler
| IFF = Hessians
| tag = [RHA]
| recruitment = http://discoverygc.com/forums/index.php?showtopic=36136
| toc = yes
}}

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
Secondary Base Freital Base, Omega-11
Identification
Primary ID Red Hessian ID
Secondary ID Smuggler ID
IFF Hessians
Tag(s) [RHA]
Primary role
Liberation of Rheinland
Secondary role
Undermining corrupt Rheinland corporations, containing the Corsair expansion