Template:Tripleneedlelist
Jump to navigation
Jump to search
Template for tedious, monotonous lists. Supports up to 25 lines.
Without:
*<code>hl2</code>: Category:Half-Life 2 entities *<code>episodic</code>: Category:HL2 Episodic entities *<code>dods</code>: Category:Day of Defeat: Source entities *<code>css</code>: Category:Counter-Strike: Source entities *<code>p1</code>: Category:Portal entities *<code>tf2</code>: Category:Team Fortress 2 entities *<code>l4d</code>: Category:Left 4 Dead entities *<code>l4d2</code>: Category:Left 4 Dead 2 entities *<code>asw</code>: Category:Alien Swarm entities *<code>p2</code>: Category:Portal 2 entities *<code>csgo</code>: Category:Counter-Strike: Global Offensive entities *<code>all</code>: Category:Source base entities *<code>most</code>: Category:Source partial entities *<code>some</code>: Category:Source partial entities
With:
{{tripleneedlelist|*<code>|</code>: Category:| entities |hl2|Half-Life 2<!-- -->|episodic|HL2 Episodic<!-- -->|dods|Day of Defeat: Source<!-- -->|css|Counter-Strike: Source<!-- -->|p1|Portal<!-- -->|tf2|Team Fortress 2<!-- -->|l4d|Left 4 Dead<!-- -->|l4d2|Left 4 Dead 2<!-- -->|asw|Alien Swarm<!-- -->|p2|Portal 2<!-- -->|csgo|Counter-Strike: Global Offensive<!-- -->|all|Source base<!-- -->|most|Source partial<!-- -->|some|Source partial}}
Result:
hl2
: Category:Half-Life 2 entities
episodic
: Category:HL2 Episodic entities
dods
: Category:Day of Defeat: Source entities
css
: Category:Counter-Strike: Source entities
p1
: Category:Portal entities
tf2
: Category:Team Fortress 2 entities
l4d
: Category:Left 4 Dead entities
l4d2
: Category:Left 4 Dead 2 entities
asw
: Category:Alien Swarm entities
p2
: Category:Portal 2 entities
csgo
: Category:Counter-Strike: Global Offensive entities
all
: Category:Source base entities
most
: Category:Source partial entities
some
: Category:Source partial entities
Note: This template will fight with you if you use some certain wiki markup going across parameters. HTML comments aren't always needed but will prevent unintended whitespace.