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"
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{ | + | <noinclude>{{Work in progress|leader=[[User:Chovynz]]}}{{Stub| |
− | *This needs the <nowiki>{{{type}}}</nowiki> to default to NPC | + | *This needs the <nowiki>{{{type}}} parameter</nowiki> to default to NPC |
− | *This needs the <nowiki>{{{server}}}</nowiki> to default to GC | + | *This needs the <nowiki>{{{server}}} parameter</nowiki> to default to GC |
*DO NOT OVERWRITE THE EXISTING TEMPLATE WITH THIS ONE UNTIL THESE ARE DONE. ASK Chovynz. It's needs thorough testing before applying. | *DO NOT OVERWRITE THE EXISTING TEMPLATE WITH THIS ONE UNTIL THESE ARE DONE. ASK Chovynz. It's needs thorough testing before applying. | ||
*We will need to manually change the player factions, however this template will take care of all the NPC Factions, once the defaults are on. | *We will need to manually change the player factions, however this template will take care of all the NPC Factions, once the defaults are on. | ||
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> | + | *Category <server faction>, + <server> infobox banner |
− | *Category <server group> | + | *Category <server group>, + <server> infobox banner |
− | + | ||
− | *if the | + | '''Affiliation''' |
− | * | + | *Affiliation needs a <nowiki>[[link]]</nowiki> 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= | =Usage= | ||
Line 210: | Line 218: | ||
==Result== | ==Result== | ||
{{Test Faction Infobox | {{Test Faction Infobox | ||
− | | server = | + | | server = GC |
− | | type = | + | | 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
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. |
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 | |
Origin | 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.