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:Test Faction Infobox"

From Discovery Wiki
Jump to navigationJump to search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{workinprogress|leader=[[User:Chovynz]]}}{{Stub|
+
<noinclude>{{Work in progress|leader=[[User:Chovynz]]}}{{Stub|
 
*This needs the <nowiki>{{{type}}} parameter</nowiki> to default to NPC
 
*This needs the <nowiki>{{{type}}} parameter</nowiki> to default to NPC
 
*This needs the <nowiki>{{{server}}} parameter</nowiki> to default to GC
 
*This needs the <nowiki>{{{server}}} parameter</nowiki> to default to GC
Line 15: Line 15:
 
| type is undefined. How do I add the parameter default when the infobox doesn't use it?  
 
| type is undefined. How do I add the parameter default when the infobox doesn't use it?  
 
}}
 
}}
 
+
{{#ifeq:{{NAMESPACE}}|Template||
 
{{#ifeq: {{{type}}}|NPC|{{#switch: {{{type}}}
 
{{#ifeq: {{{type}}}|NPC|{{#switch: {{{type}}}
 
| NPC = [[Category:Factions]] [[Category:{{{name}}}]]
 
| NPC = [[Category:Factions]] [[Category:{{{name}}}]]
Line 39: Line 39:
 
| DELTA = [[Category:Delta Player Factions]]
 
| DELTA = [[Category:Delta Player Factions]]
 
}}|}}
 
}}|}}
 +
}}
 
{{#ifeq: {{{type}}}|NPC|:''This is {{#switch: {{{type}}}
 
{{#ifeq: {{{type}}}|NPC|:''This is {{#switch: {{{type}}}
 
|NPC = a NPC Faction
 
|NPC = a NPC Faction
Line 142: Line 143:
 
-->
 
-->
 
<div style="color:red;font-size:large;">Please be careful when using this template.</div>
 
<div style="color:red;font-size:large;">Please be careful when using this template.</div>
This Template will automatically add
+
'''This Template will automatically add'''
 
*Category <server faction>, + <server> infobox banner
 
*Category <server faction>, + <server> infobox banner
 
*Category <server group>, + <server> infobox banner
 
*Category <server group>, + <server> infobox banner
For Affiliation
+
 
*if the type is NPC, the entire "Affiliation section" WILL NOT display
+
'''Affiliation'''
*if the type is OFFICIAL or GROUP, affiliation WILL display
 
**if affiliation is not specified the value WILL NOT display (For those factions that aren't affiliated.)
 
 
*Affiliation needs a <nowiki>[[link]]</nowiki> to be most effective.
 
*Affiliation needs a <nowiki>[[link]]</nowiki> to be most effective.
Type can be  
+
**if affiliation is not specified the affiliation value WILL NOT display (For those factions that aren't affiliated.)
 +
 
 +
'''Type can be'''
 
*NPC
 
*NPC
 
*OFFICIAL
 
*OFFICIAL
 
*GROUP
 
*GROUP
  
 +
**if the type is NPC, the entire "Affiliation" variable and "Server" variable WILL NOT display
 +
**if the type is OFFICIAL or GROUP, "Affiliation" and "Server" WILL display
 
Currently this template bugs when all three are unspecified.
 
Currently this template bugs when all three are unspecified.
  
Line 215: Line 218:
 
==Result==
 
==Result==
 
{{Test Faction Infobox
 
{{Test Faction Infobox
| server =  
+
| server = GC
 
| type = GROUP
 
| type = GROUP
| affiliation =  
+
| affiliation = [[Red Hessians]]
 
| name = Red Hessians
 
| name = Red Hessians
 
| image = Freital.jpg
 
| image = Freital.jpg

Latest revision as of 02:17, 6 February 2012

150px-WIP2.png This page is currently being developed by one or more editors being led by User:Chovynz. Please refer to the talk page to learn about and/or contribute to the completion of this page. You can also contact the leader on their discussion page.

Talk Page

Please be careful when using this template.

This Template will automatically add

  • Category <server faction>, + <server> infobox banner
  • Category <server group>, + <server> infobox banner

Affiliation

  • Affiliation needs a [[link]] to be most effective.
    • if affiliation is not specified the affiliation value WILL NOT display (For those factions that aren't affiliated.)

Type can be

  • NPC
  • OFFICIAL
  • GROUP
    • if the type is NPC, the entire "Affiliation" variable and "Server" variable WILL NOT display
    • if the type is OFFICIAL or GROUP, "Affiliation" and "Server" WILL display

Currently this template bugs when all three are unspecified.

Usage

{{Faction Infobox
| server =
| name = 
| type =
| image = 
| imgsz =
| origin = 
| alignment = 
| affiliation =
| founding-date = 
| dissolution-date = 
| leader = 
| founder = 
| primary-role = 
| secondary-role = 
| base = 
}}

server can be one of these choices:

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

type can be one of these choices:

  • NPC
  • OFFICIAL
  • GROUP

affiliation

  • will need a [[link]] to be effective

Example

{{Test Faction Infobox
| server = 
| name = Red Hessians
| type = 
| 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

GROUP

This is an unofficial player group on the Discovery Gaming Community Server. For the affiliated NPC Faction see Red Hessians.
Red Hessians
FLGC-faction.jpg
Origin Flag-rheinland.png Rheinland
Affiliation Red Hessians
Alignment Unlawful
Profile
Date of founding 700 A.S.
Date of dissolution 800 A.S.
Founder(s) Mr Founder Man
Current leader(s) Mr Big Guy
Base of operations Vogtland Base, Dresden
Primary role
Liberation of Rheinland
Secondary role
Undermining corrupt Rheinland corporations, containing the Corsair expansion

The No. Outcast splinter faction was founded in 800 AS, and it has had an illustrious past. It was the brainchild of Pedro Portillo, a gifted scientist involved in cardamine research. He was annoyed at the restrictions on research caused by the corruption in the Council of Dons, which divided efforts and prevented effective research. Portillo collected a group of like-minded scientists and the No. was formed.

The original name of the No. was actually the Independent Cardamine Research Division (ICRD), which, under Portillo, began making significant progress in the field of modifying cardamine. However, the scientists found that in order to collect source material and vital resources, they had to venture out of the safety of Galicia Research Station. The ICRD found Omicron-81 very safe, as no enemy could penetrate multiple Outcast systems to get there. However, when venturing into neighbouring Omicron-80’s far reaches to conduct research, they found a few bounty hunters patrolling, looking to snap up random patrols. Portillo’s Sabre, named No.Rest, and the defensive Maltese Navy contingent was barely enough to repulse the attack, and Portillo returned to Galicia needing more power in order to further his research.

Portillo approached a well-known Outcast on Seguro Refugio, Guerra Diaz, and asked him for help. Guerra was more willing than Portillo had expected, and offered to join the No. as his second in command. Portillo, seeing that Guerra was an able scientist as well as a fearsome warrior, agreed. Guerra immediately set to work organising Navy aid and recommended various Outcasts to Portillo for recruitment. He renamed his Sabre No.Regret.