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 navigation"
From Discovery Wiki
Jump to navigationJump to searchRogueCharlie (talk | contribs) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
|} | |} | ||
|} | |} | ||
− | + | {{#ifeq:{{NAMESPACE}}|Template|| | |
{{#if:{{{faction|}}}|[[Category: {{{faction}}}|{{PAGENAME}}]]}} | {{#if:{{{faction|}}}|[[Category: {{{faction}}}|{{PAGENAME}}]]}} | ||
{{#if:{{{affiliation|}}}|[[Category: {{{affiliation}}}|{{PAGENAME}}]]}} | {{#if:{{{affiliation|}}}|[[Category: {{{affiliation}}}|{{PAGENAME}}]]}} | ||
{{#if:{{{category|}}}|[[Category: {{{category}}}|{{PAGENAME}}]]}} | {{#if:{{{category|}}}|[[Category: {{{category}}}|{{PAGENAME}}]]}} | ||
+ | }} | ||
<noinclude>--> | <noinclude>--> | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
− | {{ | + | {{Faction navigation |
|category = | |category = | ||
|faction = | |faction = | ||
Line 73: | Line 74: | ||
== Result == | == Result == | ||
− | <pre>{{ | + | <pre>{{Faction navigation |
|category = RogueCharlie | |category = RogueCharlie | ||
|faction = Outcast Militia | |faction = Outcast Militia | ||
Line 87: | Line 88: | ||
|mypages = [[Antonio Lopez]] - [[Kraken|[OCM]Kraken~FA]] - [[Cassandra Ruiz]] - [[OCM Vesuvius|[OCM]Vesuvius]] - [[Alcara|[OCM]Alcara]] | |mypages = [[Antonio Lopez]] - [[Kraken|[OCM]Kraken~FA]] - [[Cassandra Ruiz]] - [[OCM Vesuvius|[OCM]Vesuvius]] - [[Alcara|[OCM]Alcara]] | ||
}}</pre> | }}</pre> | ||
− | {{ | + | {{Faction navigation |
|category = RogueCharlie | |category = RogueCharlie | ||
|faction = Outcast Militia | |faction = Outcast Militia | ||
Line 101: | Line 102: | ||
|mypages = [[Antonio Lopez]] - [[Kraken|[OCM]Kraken~FA]] - [[Cassandra Ruiz]] - [[OCM Vesuvius|[OCM]Vesuvius]] - [[Alcara|[OCM]Alcara]] | |mypages = [[Antonio Lopez]] - [[Kraken|[OCM]Kraken~FA]] - [[Cassandra Ruiz]] - [[OCM Vesuvius|[OCM]Vesuvius]] - [[Alcara|[OCM]Alcara]] | ||
}} | }} | ||
− | <pre>{{ | + | <pre>{{Faction navigation |
|category = | |category = | ||
|faction = Junker Salvaging, Inc. | |faction = Junker Salvaging, Inc. | ||
Line 113: | Line 114: | ||
|mypages = [[User:Maarek2469|Overseer Kuseth Ramor]] - [[Martin Esteban|Elder Martin Esteban]] - [[User:Phil1951|Elder Paddy McDuf]] | |mypages = [[User:Maarek2469|Overseer Kuseth Ramor]] - [[Martin Esteban|Elder Martin Esteban]] - [[User:Phil1951|Elder Paddy McDuf]] | ||
}}</pre> | }}</pre> | ||
− | {{ | + | {{Faction navigation |
|category = | |category = | ||
|faction = Junker Salvaging, Inc. | |faction = Junker Salvaging, Inc. | ||
Line 125: | Line 126: | ||
|mypages = [[User:Maarek2469|Overseer Kuseth Ramor]] - [[Martin Esteban|Elder Martin Esteban]] - [[User:Phil1951|Elder Paddy McDuf]] | |mypages = [[User:Maarek2469|Overseer Kuseth Ramor]] - [[Martin Esteban|Elder Martin Esteban]] - [[User:Phil1951|Elder Paddy McDuf]] | ||
}} | }} | ||
− | <pre>{{ | + | <pre>{{Faction navigation}} |
(no variables are used.)</pre> | (no variables are used.)</pre> | ||
− | {{ | + | {{Faction navigation}} |
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
[[Category: RogueCharlie|{{PAGENAME}}]] | [[Category: RogueCharlie|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Latest revision as of 21:52, 5 February 2012
RogueCharlie's faction navigation template.
Usage
{{Faction navigation |category = |faction = |affiliation = |image = |border = |bgcolor = |hdcolor = |labelbg = |labelcolor = |linkbg = |linkcolor = |header = |label = |pages = |forum = |mypages = }}
Variables:
- faction - the name of your faction will become a category and be used in the header. (example: Outcast Militia)
- affiliation - The NPC group your faction belongs to will become a category. (example: Outcasts)
- category - sets your custom category for your pages that use this template.
- pages - specify the faction wiki pages on this line.
- forum - specify the faction forum threads on this line.
- label - specify the label for the third line of links.
- Leave blank and the default "See also" is displayed.
- labelbg - Background color of the label cells.
- labelcolor - Font color of the label cells.
- linkbg - Background color of the links.
- linkcolor - Font color for non-link text.
- mypages - specify the links you wish displayed on the third line of links.
- border - specify the color of the borders.
- bgcolor - specify the background color for the header.
- hdcolor - specify the font color of the header.
- leave blank for forum default color.
- image - specify the image using full link code.
- Since you enter the full link code you can specify the size and other attributes for the image.
- Leave blank and the image box will not appear.
- header - options:
- SERVER - will display "{{{faction}}} on Discovery GC 24/7 RP"
- Leave blank - will display "{{{faction}}} Navbar". If no faction is specified it will simply say "Navbar".
- Write your own text to be displayed in the header.
Result
{{Faction navigation |category = RogueCharlie |faction = Outcast Militia |affiliation = Outcasts |image = [[image:Ocm siggy.jpg|center|link=Outcast Militia]] |border = #EF9E00 |bgcolor = #EF9E00 |hdcolor = #000000 |header = SERVER |label = My OCM Pages |pages = [[Outcast Militia|Main Page]] - [[OCM Roster|Members]] - [[OCM Ships|Ships]] - [[OCM Treaties|Treaties]] - [[OCM Outcast Laws|Laws]] - [[Criminals to the House of Malta|Criminals]] - [[Outcast Trade Routes|Trade Routes]] - [[Armory Inventories|Inventory]] - [[OCM Contributions|Contributions]] |forum = [http://www.discovery-usa.com/phpBB3/viewtopic.php?f=23&t=7824 Official Faction Feedback] - [http://www.discovery-usa.com/phpBB3/viewtopic.php?f=11&t=6024 Message Dump] - [http://www.discovery-usa.com/phpBB3/viewtopic.php?f=22&t=6009 Recruitment] - [http://www.discovery-usa.com/phpBB3/viewtopic.php?f=25&t=6214 Inventory] |mypages = [[Antonio Lopez]] - [[Kraken|[OCM]Kraken~FA]] - [[Cassandra Ruiz]] - [[OCM Vesuvius|[OCM]Vesuvius]] - [[Alcara|[OCM]Alcara]] }}
|
{{Faction navigation |category = |faction = Junker Salvaging, Inc. |affiliation = Junkers |image = [[image:JSI.png|center|100px]] |border = #888A85 |bgcolor = #1F1F1F |label = People |pages = [[Junker Salvaging, Inc.]] - [[JSI Resources]] - [[JSI Roster]] - [[Junker Trade Routes]] |forum = [http://www.discovery-usa.com/phpBB3/viewtopic.php?f=48&t=1949 Faction Information] - [http://www.discovery-usa.com/phpBB3/viewtopic.php?f=22&t=1985 Faction Recruitment] - [http://www.discovery-usa.com/phpBB3/viewtopic.php?f=11&t=2880 Faction Communications] |mypages = [[User:Maarek2469|Overseer Kuseth Ramor]] - [[Martin Esteban|Elder Martin Esteban]] - [[User:Phil1951|Elder Paddy McDuf]] }}
|
{{Faction navigation}} (no variables are used.)
|