Difference between revisions of "Template:Achiev type link"

From Team Fortress Wiki
Jump to: navigation, search
m (Added noinclude so the pages that use this aren't added to the category)
(Cleaned up the mess this template was. No longer needs "=yes")
Line 1: Line 1:
<includeonly><!--
+
<includeonly>{{#switch: {{{1}}}
-->{{#if:{{{general|}}}
+
| general = [[File:Achieved.png|20px|link=Achievements{{if lang}}]] [[Achievements{{if lang}}|{{common string|General achievements}}]]
  |[[Image:Achieved.png|20px|link=Achievements{{if lang}}]] [[Achievements{{if lang}}|{{common string|General achievements}}]]
+
| scarechievements | scare = [[File:Pumpkin.png|20px|link=Halloween achievements{{if lang}}#2009]] [[Halloween achievements{{if lang}}#2009|{{common string|Scarechievements}}]]
}}<!--
+
| ghostchievements | ghost = [[File:Ghostchievements icon.png|20px|link=Halloween achievements{{if lang}}#2010]] [[Halloween achievements{{if lang}}#2010|{{common string|Ghostchievements}}]]
-->{{#if:{{{scarechievements|}}}
+
| eye-chievements | eye = [[File:Item icon Bombinomicon.png|20px|link=Halloween achievements{{if lang}}#2011]] [[Halloween achievements{{if lang}}#2011|{{common string|Eye-chievements}}]]
  |[[File:Pumpkin.png|20px|link=Halloween achievements{{if lang}}#2009]] [[Halloween achievements#2009{{if lang}}|{{common string|Scarechievements}}]]
+
| necromannchievements | necro = [[File:Backpack Skull Island Topper.png|20px|link=Halloween achievements{{if lang}}#2012]] [[Halloween achievements{{if lang}}#2012|{{common string|Necromannchievements}}]]
}}<!--
+
| bereavements | bereave = [[File:Item icon Spellbook Magazine.png|20px|link=Halloween achievements{{if lang}}#2013]] [[Halloween achievements{{if lang}}#2013|{{common string|Bereavements}}]]
-->{{#if:{{{ghostchievements|}}}
+
| merasmachievements | merasmus = [[File:Carnival of Carnage RED Bumper Car.png|20px|link=Halloween achievements{{if lang}}#2014]] [[Halloween achievements{{if lang}}#2014|{{common string|Merasmachievements}}]]
  |[[File:Ghostchievements icon.png|20px|link=Halloween achievements{{if lang}}#2010]] [[Halloween achievements#2010{{if lang}}|{{common string|Ghostchievements}}]]
+
| replay = [[File:Tf2arrcamera.png|20px|link=Replay achievements{{if lang}}]] [[Replay achievements{{if lang}}|{{common string|Replay achievements}}]]
}}<!--
+
| foundry = [[File:Backpack Full Head of Steam.png|20px|link=Foundry achievements{{if lang}}]] [[Foundry achievements{{if lang}}|{{common string|Foundry achievements}}]]
-->{{#if:{{{eye-chievements|}}}
+
| christmas = [[File:Valve Gift Grab 2011 - Tf2.png|20px|link=Christmas Event achievements{{if lang}}]] [[Christmas Event achievements{{if lang}}|{{common string|Christmas Event achievements}}]]
  |[[File:Item icon Bombinomicon.png|20px|link=Halloween achievements{{if lang}}#2011]] [[Halloween achievements#2011{{if lang}}|{{common string|Eye-chievements}}]]
+
| astrochievements | astro = [[File:Doomsday icon.png|20px|link=Astro-chievements{{if lang}}]] [[Astro-chievements{{if lang}}|{{common string|Astro-chievements}}]]
}}<!--
+
| mvm-chievements | mvm = [[File:Mvm navicon.png|20px|link=Mann vs. Machievements{{if lang}}]] [[Mann vs. Machievements{{if lang}}|{{common string|Mann vs. Machievements}}]]
-->{{#if:{{{necromannchievements|}}}
+
| standin = [[File:Tf stand and deliver.png|20px|link=Standin achievements{{if lang}}]] [[Standin achievements{{if lang}}|{{common string|Standin achievements}}]]
  |[[File:Backpack Skull Island Topper.png|20px|link=Halloween achievements{{if lang}}#2012]] [[Halloween achievements#2012{{if lang}}|{{common string|Necromannchievements}}]]
+
| process = [[File:Tf process of elimination.png|20px|link=Process achievements{{if lang}}]] [[Process achievements{{if lang}}|{{common string|Process achievements}}]]
}}<!--
+
| snakewater = [[File:Tf snakewater salesman.png|20px|link=Snakewater achievements{{if lang}}]] [[Snakewater achievements{{if lang}}|{{common string|Snakewater achievements}}]]
-->{{#if:{{{bereavements|}}}
+
| powerhouse = [[File:The Power and the Glory.png|20px|link=Powerhouse achievements{{if lang}}]] [[Powerhouse achievements{{if lang}}|{{common string|Powerhouse achievements}}]]
  |[[File:Item icon Spellbook Magazine.png|20px|link=Halloween achievements{{if lang}}#2013]] [[Halloween achievements#2013{{if lang}}|{{common string|Bereavements}}]]
+
| pass-time | pass = [[File:Tf pass time hat.png|20px|link=PASS Time achievements{{if lang}}]] [[PASS Time achievements{{if lang}}|{{common string|PASS Time achievements}}]]
}}<!--
+
| #default = <font color=red size=4>'''Invalid parameter. See [[Template:Achiev type link]] for a list of valid parameters'''</font>
-->{{#if:{{{merasmachievements|}}}
 
  |[[File:Carnival of Carnage RED Bumper Car.png|20px|link=Halloween achievements{{if lang}}#2014]] [[Halloween achievements#2014{{if lang}}|{{common string|Merasmachievements}}]]
 
}}<!--
 
-->{{#if:{{{replay|}}}
 
  |[[File:Tf2arrcamera.png|20px|link=Replay achievements{{if lang}}]] [[Replay achievements{{if lang}}|{{common string|Replay achievements}}]]
 
}}<!--
 
-->{{#if:{{{foundry|}}}
 
  |[[File:Backpack Full Head of Steam.png|20px|link=Foundry achievements{{if lang}}]] [[Foundry achievements{{if lang}}|{{common string|Foundry achievements}}]]
 
}}<!--
 
-->{{#if:{{{christmas|}}}
 
  |[[File:Valve Gift Grab 2011 - Tf2.png|20px|link=Christmas Event achievements{{if lang}}]] [[Christmas Event achievements{{if lang}}|{{common string|Christmas Event achievements}}]]
 
}}<!--
 
-->{{#if:{{{astrochievements|}}}
 
  |[[File:Doomsday icon.png|20px|link=Astro-chievements{{if lang}}]] [[Astro-chievements{{if lang}}|{{common string|Astro-chievements}}]]
 
}}<!--
 
-->{{#if:{{{mvm-chievements|}}}
 
  |[[File:Mvm navicon.png|20px|link=Mann vs. Machievements{{if lang}}]] [[Mann vs. Machievements{{if lang}}|{{common string|Mann vs. Machievements}}]]
 
}}<!--
 
-->{{#if:{{{standin|}}}
 
  |[[File:Tf stand and deliver.png|20px|link=Standin achievements{{if lang}}]] [[Standin achievements{{if lang}}|{{common string|Standin achievements}}]]
 
}}<!--
 
-->{{#if:{{{process|}}}
 
  |[[File:Tf process of elimination.png|20px|link=Process achievements{{if lang}}]] [[Process achievements{{if lang}}|{{common string|Process achievements}}]]
 
}}<!--
 
-->{{#if:{{{snakewater|}}}
 
  |[[File:Tf snakewater salesman.png|20px|link=Snakewater achievements{{if lang}}]] [[Snakewater achievements{{if lang}}|{{common string|Snakewater achievements}}]]
 
}}<!--
 
-->{{#if:{{{powerhouse|}}}
 
  |[[File:The Power and the Glory.png|20px|link=Powerhouse achievements{{if lang}}]] [[Powerhouse achievements{{if lang}}|{{common string|Powerhouse achievements}}]]
 
}}<!--
 
-->{{#if:{{{pass-time|}}}
 
  |[[File:Tf pass time hat.png|20px|link=PASS Time achievements{{if lang}}]] [[PASS Time achievements{{if lang}}|{{common string|PASS Time achievements}}]]
 
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{doc begin}}
 
{{doc begin}}
 
=== Usage ===
 
=== Usage ===
* {{tlx|Achiev type link|3=replay=yes}} produces {{Achiev type link|replay=yes}}<br>
+
* {{tlx|Achiev type link|replay}} produces {{Achiev type link|replay}}
* Use always '''''=yes''''' after the name of the parameter.
+
 
 
=== List of possible parameters ===
 
=== List of possible parameters ===
 
{| class="wikitable grid"
 
{| class="wikitable grid"
Line 61: Line 29:
 
|-
 
|-
 
| ''general''
 
| ''general''
| {{Achiev type link|general=yes}}
+
| {{Achiev type link|general}}
 
|-
 
|-
| ''scarechievements''
+
| ''scarechievements'' / ''scare''
| {{Achiev type link|scarechievements=yes}}
+
| {{Achiev type link|scarechievements}}
 
|-
 
|-
| ''ghostchievements''
+
| ''ghostchievements'' / ''ghost''
| {{Achiev type link|ghostchievements=yes}}
+
| {{Achiev type link|ghostchievements}}
 
|-
 
|-
| ''eye-chievements''
+
| ''eye-chievements'' / ''eye''
| {{Achiev type link|eye-chievements=yes}}
+
| {{Achiev type link|eye-chievements}}
 
|-
 
|-
| ''necromannchievements''
+
| ''necromannchievements'' / ''necro''
| {{Achiev type link|necromannchievements=yes}}
+
| {{Achiev type link|necromannchievements}}
 
|-
 
|-
| ''bereavements''
+
| ''bereavements'' / ''bereave''
| {{Achiev type link|bereavements=yes}}
+
| {{Achiev type link|bereavements}}
 
|-
 
|-
| ''merasmachievements''
+
| ''merasmachievements'' / ''merasmus''
| {{Achiev type link|merasmachievements=yes}}
+
| {{Achiev type link|merasmachievements}}
 
|-
 
|-
 
| ''replay''
 
| ''replay''
| {{Achiev type link|replay=yes}}
+
| {{Achiev type link|replay}}
 
|-
 
|-
 
| ''foundry''
 
| ''foundry''
| {{Achiev type link|foundry=yes}}
+
| {{Achiev type link|foundry}}
 
|-
 
|-
 
| ''christmas''
 
| ''christmas''
| {{Achiev type link|christmas=yes}}
+
| {{Achiev type link|christmas}}
 
|-
 
|-
| ''astrochievements''
+
| ''astrochievements'' / ''astro''
| {{Achiev type link|astrochievements=yes}}
+
| {{Achiev type link|astrochievements}}
 
|-
 
|-
| ''mvm-chievements''
+
| ''mvm-chievements'' / ''mvm''
| {{Achiev type link|mvm-chievements=yes}}
+
| {{Achiev type link|mvm}}
 
|-
 
|-
 
| ''standin''
 
| ''standin''
| {{Achiev type link|standin=yes}}
+
| {{Achiev type link|standin}}
 
|-
 
|-
 
| ''process''
 
| ''process''
| {{Achiev type link|process=yes}}
+
| {{Achiev type link|process}}
 
|-
 
|-
 
| ''snakewater''
 
| ''snakewater''
| {{Achiev type link|snakewater=yes}}
+
| {{Achiev type link|snakewater}}
 
|-
 
|-
 
| ''powerhouse''
 
| ''powerhouse''
| {{Achiev type link|powerhouse=yes}}
+
| {{Achiev type link|powerhouse}}
 
|-
 
|-
| ''pass-time''
+
| ''pass-time'' / ''pass''
| {{Achiev type link|pass-time=yes}}
+
| {{Achiev type link|pass-time}}
|}
+
|}<noinclude>[[Category:Link insertion templates]]</noinclude>
<noinclude>[[Category:Link insertion templates]]</noinclude>
 

Revision as of 20:08, 4 October 2021

Documentation for Achiev type link

Usage

List of possible parameters

Name of parameter Result
general Achieved.png General achievements
scarechievements / scare Pumpkin.png Scarechievements
ghostchievements / ghost Ghostchievements icon.png Ghostchievements
eye-chievements / eye Monoculus angry.png Eye-chievements
necromannchievements / necro Backpack Skull Island Topper.png Necromannchievements
bereavements / bereave Item icon Spellbook Magazine.png Bereavements
merasmachievements / merasmus Carnival of Carnage RED Bumper Car.png Merasmachievements
replay Tf2arrcamera.png Replay achievements
foundry Controlpoint.png Foundry achievements
christmas Valve Gift Grab 2011 - Tf2.png Christmas Event achievements
astrochievements / astro Invalid parameter. See Template:Achiev type link for a list of valid parameters
mvm-chievements / mvm Mvm navicon.png Mann vs. Machievements
standin Tf stand and deliver.png Standin achievements
process Tf process of elimination.png Process achievements
snakewater Tf snakewater salesman.png Snakewater achievements
powerhouse The Power and the Glory.png Powerhouse achievements
pass-time / pass Tf pass time hat.png PASS Time achievements