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"
(45 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}}} parameter</nowiki> to default to NPC | |
− | + | *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. | |
− | + | *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. | |
− | + | *That means, that eventually (DON'T START NOW), pages like '''Deep Space Engineering (player faction)''' will need to either change their names to '''Deep Space Engineering (player faction GC)''', and all player faction will have a redirect for awhile from '''(player faction)''' to the (player faction GC). | |
− | + | *It also means all player factions will need to have three fields added to their infobox information. | |
− | + | <pre>| server = GC | |
− | + | | type = | |
− | + | | affiliation = </pre> | |
− | + | *I'm intending on have a disambiguation page linking from the NPC factions, to a list of all the server factions of each name. Alternatively, Some other solution.}} | |
− | *< | + | <!--</noinclude> |
− | + | {{#if: {{{type|}}} | |
− | + | | {{{type}}} | |
− | + | | 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}}} | |
− | + | | NPC = [[Category:Factions]] [[Category:{{{name}}}]] | |
− | + | }}|}} | |
− | + | {{#ifeq: {{{type}}}|GROUP|{{#switch: {{{server}}} | |
− | [[Category: | + | | GC = [[Category:DiscoGC Player Groups]] |
− | + | | UK = [[Category:DiscoUK Player Groups]] | |
− | + | | USA = [[Category:DiscoUSA Player Groups]] | |
− | + | | DOD = [[Category:Discovery of Discovery Player Groups]] | |
− | [[ | + | | BERLIN = [[Category:Berlin Player Groups]] |
− | + | | F7 = [[Category:Freeport 7 Player Groups]] | |
− | + | | FLAW = [[Category:Flaw Player Groups]] | |
− | {{#switch: {{{server}}} | + | | DELTA = [[Category:Delta Player Groups]] |
− | | GC = [[ | + | }}|}} |
− | | UK = [[ | + | {{#ifeq: {{{type}}}|OFFICIAL|{{#switch: {{{server}}} |
− | | USA = | + | | GC = [[Category:DiscoGC Player Factions]] |
− | | DOD = | + | | UK = [[Category:DiscoUK Player Factions]] |
− | | BERLIN = Berlin | + | | USA = [[Category:DiscoUSA Player Factions]] |
− | | F7 = Freeport 7 | + | | DOD = [[Category:Discovery of Discovery Player Factions]] |
− | | FLAW = Flaw | + | | BERLIN = [[Category:Berlin Player Factions]] |
− | | DELTA = Delta | + | | F7 = [[Category:Freeport 7 Player Factions]] |
− | | | + | | FLAW = [[Category:Flaw Player Factions]] |
+ | | DELTA = [[Category:Delta Player Factions]] | ||
+ | }}|}} | ||
}} | }} | ||
− | + | {{#ifeq: {{{type}}}|NPC|:''This is {{#switch: {{{type}}} | |
+ | |NPC = a NPC Faction | ||
+ | |OFFICIAL = an official player faction | ||
+ | |GROUP = an unofficial player group | ||
+ | }}.''|:''This is {{#switch: {{{type}}} | ||
+ | | NPC = a NPC Faction | ||
+ | | OFFICIAL = an official player faction | ||
+ | | GROUP = an unofficial player group | ||
+ | }} on the {{#switch: {{{server}}} | ||
+ | |GC = [http://discoverygc.com/ Discovery Gaming Community] | ||
+ | |UK = [http://www.discoveryfluk.com/ Discovery UK] | ||
+ | |USA = [http://discovery-usa.com/ Discovery USA] | ||
+ | |DOD = -=Discovery of Discovery=- | ||
+ | |BERLIN = [http://www.flserver-berlin.de/ Berlin] | ||
+ | |F7 = [http://www.punbb-hosting.com/forums/freeport7usarp/index.php Freeport 7] | ||
+ | |FLAW = Flaw | ||
+ | |DELTA = Delta | ||
+ | }} Server. {{#if: {{{affiliation|}}} | ||
+ | | For the affiliated NPC Faction see {{{affiliation}}}.'' | ||
+ | | | ||
+ | }} }} | ||
{| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #dddddd;" cellpadding="3" | {| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #dddddd;" cellpadding="3" | ||
|- | |- | ||
| colspan="2" class="infobox-name" | '''{{{name}}}''' | | colspan="2" class="infobox-name" | '''{{{name}}}''' | ||
|- | |- | ||
− | | colspan="2" style="padding: 0px; text-align: center;" | | + | | colspan="2" style="padding: 0px; text-align: center;" | {{#ifeq: {{{type}}}|NPC||{{#switch: {{{server}}} |
− | |- | + | | GC = [[Image:FLGC-faction.jpg|264px]] |
− | | | + | | UK = [[Image:FLUK-faction.jpg|264px]] |
+ | | USA = USA Server | ||
+ | | DOD = -=Discovery of Discovery=- Server | ||
+ | | BERLIN = Berlin Server | ||
+ | | F7 = Freeport 7 Server | ||
+ | | FLAW = Flaw Server | ||
+ | | DELTA = Delta Server | ||
+ | }}}} | ||
|- | |- | ||
| colspan="2" style="padding: 0px; text-align: center;" | {{#if: {{{image|}}} | | colspan="2" style="padding: 0px; text-align: center;" | {{#if: {{{image|}}} | ||
Line 58: | Line 87: | ||
}} | }} | ||
|- | |- | ||
− | | class="infobox-data-title" style="width: 110px;" | + | {{#ifeq: {{{type}}}|NPC|| |
− | + | {{!}} class="infobox-data-title" style="width: 110px;" {{!}} '''Affiliation ''' | |
− | + | {{!}} style="padding-right: 1em;" {{!}}{{{affiliation}}} | |
− | + | {{!}}-}} | |
− | }} | ||
− | |||
| class="infobox-data-title" | '''Alignment''' | | class="infobox-data-title" | '''Alignment''' | ||
| style="padding-right: 1em;" | {{#switch: {{{alignment}}} | | style="padding-right: 1em;" | {{#switch: {{{alignment}}} | ||
Line 71: | Line 98: | ||
| CORPORATION = Lawful/Corporation | | CORPORATION = Lawful/Corporation | ||
| INDEPENDENT = Independent | | INDEPENDENT = Independent | ||
+ | | ALIEN = Alien | ||
| #default = {{{alignment}}} | | #default = {{{alignment}}} | ||
}} | }} | ||
Line 112: | Line 140: | ||
{{!}} colspan="2" {{!}} {{{secondary_role}}} }} | {{!}} colspan="2" {{!}} {{{secondary_role}}} }} | ||
|} | |} | ||
− | |||
− | |||
<noinclude> | <noinclude> | ||
+ | --> | ||
+ | <div style="color:red;font-size:large;">Please be careful when using this template.</div> | ||
+ | '''This Template will automatically add''' | ||
+ | *Category <server faction>, + <server> infobox banner | ||
+ | *Category <server group>, + <server> infobox banner | ||
− | + | '''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= | ||
<pre>{{Faction Infobox | <pre>{{Faction Infobox | ||
Line 152: | Line 180: | ||
server can be one of these choices: | server can be one of these choices: | ||
− | *GC | + | *GC (Default) |
*UK | *UK | ||
*USA | *USA | ||
− | * | + | *DOD |
*BERLIN | *BERLIN | ||
*F7 | *F7 | ||
Line 165: | Line 193: | ||
*OFFICIAL | *OFFICIAL | ||
*GROUP | *GROUP | ||
+ | |||
+ | affiliation | ||
+ | *will need a <nowiki>[[link]]</nowiki> to be effective | ||
=Example= | =Example= | ||
<pre><nowiki>{{Test Faction Infobox | <pre><nowiki>{{Test Faction Infobox | ||
− | | server = | + | | server = |
| name = Red Hessians | | name = Red Hessians | ||
− | | type = | + | | type = |
| image = Freital.jpg | | image = Freital.jpg | ||
| imgsz = | | imgsz = | ||
Line 188: | Line 219: | ||
{{Test Faction Infobox | {{Test Faction Infobox | ||
| server = GC | | server = GC | ||
+ | | type = GROUP | ||
+ | | affiliation = [[Red Hessians]] | ||
| name = Red Hessians | | name = 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 |
− | + | | dissolution_date = 800 | |
− | | | ||
| leader = Mr Big Guy | | leader = Mr Big Guy | ||
| founder = Mr Founder Man | | founder = Mr Founder Man | ||
− | | | + | | primary_role = Liberation of Rheinland |
− | | | + | | secondary_role = Undermining corrupt Rheinland corporations, containing the Corsair expansion |
| base = [[Vogtland Base]], [[Dresden]] | | base = [[Vogtland Base]], [[Dresden]] | ||
}} | }} | ||
+ | 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. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
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.