• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 12:07
CET 18:07
KST 02:07
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
RSL Season 3: RO16 results & RO8 bracket12Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge1[TLMC] Fall/Winter 2025 Ladder Map Rotation14Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA12
StarCraft 2
General
RSL Season 3: RO16 results & RO8 bracket SC: Evo Complete - Ranked Ladder OPEN ALPHA RSL Season 3 - Playoffs Preview Mech is the composition that needs teleportation t GM / Master map hacker and general hacking and cheating thread
Tourneys
RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship StarCraft Evolution League (SC Evo Biweekly) Constellation Cup - Main Event - Stellar Fest 2025 RSL Offline Finals Dates + Ticket Sales!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened
Brood War
General
A cwal.gg Extension - Easily keep track of anyone soO on: FanTaSy's Potential Return to StarCraft Data analysis on 70 million replays [ASL20] Ask the mapmakers — Drop your questions FlaSh on: Biggest Problem With SnOw's Playstyle
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] GosuLeague T1 Ro16 - Tue & Thu 22:00 CET [BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile [Game] Osu! Should offensive tower rushing be viable in RTS games? Clair Obscur - Expedition 33
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The Games Industry And ATVI Things Aren’t Peaceful in Palestine About SC2SEA.COM
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
The Health Impact of Joining…
TrAiDoS
Dyadica Evangelium — Chapt…
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1912 users

Doing a wiki template

Blogs > FO-nTTaX
Post a Reply
FO-nTTaX
Profile Blog Joined January 2013
Johto4954 Posts
March 23 2014 13:44 GMT
#1
What has to be done, when you want to do a wiki template?

1. Well, the first and most important part: Before you start, ask your peers (the people that use the template the most), how the template should look like. This point is essential, since all your work will be pointless, if noone uses your template because they don't like it.

2. Do a mockup: If you do the whole template, and then have to change anything, because it didn't work out as you thought, it will be much more painful, than just messing with a mockup. Messing with a mockup is way easier, because you don't have to change things at all the places.

3. If everything is set: Start coding. Now is the part, where you actually do the template. recreate your mockup, but with the parameters this time. Be sure to handle all relevant possible entries users could do.

4. Test: Test your template. Test a lot. Test until you're sure everything works as expected. You most likely won't be there to fix every use of the template where it was done wrong.

5. Write documentation: Your template may be awesome, but what does it matter, if noone knows how to use it? That's why you need to write documentation. The better your documentation is, the less problems users will have using your template, and that will possibly increase the use of the template. Noone wants to look in the code to see how a template works, and if the people don't understand it easily, they won't use it.

6. Start using your new template, and have fun. Most likely you just made contributing easier, because templates help people a lot with doing good looking pages.

****
Administrator@FO_nTTaX | FO-nTTaX.de | 0xff0000.dev | Senior Lead Liquipedia Developer
"Nimm es. Es ist nicht viel, aber es kommt von Herzen. Vergiss mich nicht!"
tofucake
Profile Blog Joined October 2009
Hyrule19158 Posts
March 23 2014 23:24 GMT
#2
My steps are slightly divergent from yours:

1. Find out how it should look
2. Do mockups
3. Redo mockups 6 times because they aren't quite right
4. Start coding
5. Test
6. Erase everything, restart coding.
7. Repeat steps 4-6 a few times
8. Write documentation
9. Start using it
10. Return to step 6 and continue.
Liquipediaasante sana squash banana
PhiLtheFisH
Profile Joined October 2010
Germany442 Posts
Last Edited: 2014-03-24 00:19:41
March 24 2014 00:17 GMT
#3
My steps:

1. Mock-up how it can look like.
2. Ask others whats missing/good/bad/etc.
3. Repeat the first two steps until satisfied.
4. Redo the mockup with solid code that doesn't break all the time.
5. Think about how to make this as easy to use as possible.
6. Think about good parameter names.
7. Replace mock content by parameters.
8. Test. If not satisfied with outcome, restart at appropriate step.
9. Start using it.
10. Profit.
251. Write documentation.
Liquipedia
FO-nTTaX
Profile Blog Joined January 2013
Johto4954 Posts
March 24 2014 00:38 GMT
#4
On March 24 2014 09:17 PhiLtheFisH wrote:
251. Write documentation.

hahahahaha since i get my money from writing documented code, i got better with this. But at naming the parameters i suck pretty much... ^^
Administrator@FO_nTTaX | FO-nTTaX.de | 0xff0000.dev | Senior Lead Liquipedia Developer
"Nimm es. Es ist nicht viel, aber es kommt von Herzen. Vergiss mich nicht!"
endy
Profile Blog Joined May 2009
Switzerland8970 Posts
March 24 2014 03:10 GMT
#5
Interesting, I've never done a template before. Thanks!

Also how did you get a second gold coin in 12 days? That's insane.
ॐ
tofucake
Profile Blog Joined October 2009
Hyrule19158 Posts
Last Edited: 2014-03-24 03:14:08
March 24 2014 03:13 GMT
#6
He made http://wiki.teamliquid.net/starcraft2/Template:CrossTable and (Wiki)Template:CrossTableBig, both of which are enormously complicated
Liquipediaasante sana squash banana
docvoc
Profile Blog Joined July 2011
United States5491 Posts
Last Edited: 2014-03-24 03:42:27
March 24 2014 03:42 GMT
#7
On March 24 2014 12:13 tofucake wrote:
He made http://wiki.teamliquid.net/starcraft2/Template:CrossTable and (Wiki)Template:CrossTableBig, both of which are enormously complicated

Jesus. I just read those, I don't even code, but those look insane. He did both of those in two days?

EDIT: 12 days, still incredible, but actually believable lol.
User was warned for too many mimes.
imallinson
Profile Blog Joined May 2011
United Kingdom3482 Posts
March 24 2014 05:18 GMT
#8
On March 24 2014 09:17 PhiLtheFisH wrote:
...
251. Write documentation.

So true
>_>
<_<
Liquipedia
FO-nTTaX
Profile Blog Joined January 2013
Johto4954 Posts
Last Edited: 2014-03-24 08:41:50
March 24 2014 08:15 GMT
#9
On March 24 2014 12:10 endy wrote:
Interesting, I've never done a template before. Thanks!

Also how did you get a second gold coin in 12 days? That's insane.

I just realized this ^^
On March 24 2014 12:13 tofucake wrote:
He made (Wiki)Template:CrossTable and (Wiki)Template:CrossTableBig, both of which are enormously complicated

Actually i did four of those: (Wiki)Template:CrossTable, (Wiki)Template:CrossTableBig, (Wiki)Template:DetailedCrossTable, (Wiki)Template:DetailedCrossTableBig.
On March 24 2014 12:42 docvoc wrote:
He did both of those in two days?

EDIT: 12 days, still incredible, but actually believable lol.

But i didn't do these by hand, i wrote a skript that did the templates for me after having the mockup, since i can't make that much mistakes this way.
Administrator@FO_nTTaX | FO-nTTaX.de | 0xff0000.dev | Senior Lead Liquipedia Developer
"Nimm es. Es ist nicht viel, aber es kommt von Herzen. Vergiss mich nicht!"
Please log in or register to reply.
Live Events Refresh
Next event in 14h 23m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 149
BRAT_OK 83
MindelVK 18
UpATreeSC 5
StarCraft: Brood War
Britney 45068
Calm 4349
Rain 2757
EffOrt 882
Mini 630
BeSt 599
Stork 596
Light 459
firebathero 274
ZerO 220
[ Show more ]
hero 144
Rush 112
Leta 68
Mind 64
Sharp 60
scan(afreeca) 32
ToSsGirL 30
Backho 30
Pusan 29
Terrorterran 12
HiyA 10
JulyZerg 10
ivOry 5
Dota 2
Gorgc6360
qojqva2559
Dendi706
League of Legends
rGuardiaN34
Other Games
singsing1553
FrodaN1528
B2W.Neo1080
hiko685
crisheroes420
Mlord360
Lowko324
DeMusliM321
QueenE104
Sick88
RotterdaM77
XaKoH 59
Trikslyr42
ZerO(Twitch)19
Dewaltoss15
Organizations
Dota 2
PGL Dota 2 - Main Stream16627
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• Kozan
• sooper7s
• Migwel
• AfreecaTV YouTube
• LaughNgamezSOOP
• IndyKCrew
• intothetv
StarCraft: Brood War
• FirePhoenix6
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 4718
• WagamamaTV400
• Ler85
League of Legends
• Nemesis4146
• Jankos1440
• TFBlade1228
Other Games
• Shiphtur78
Upcoming Events
RSL Revival
14h 23m
Classic vs MaxPax
SHIN vs Reynor
herO vs Maru
WardiTV Korean Royale
18h 53m
SC Evo League
19h 23m
IPSL
23h 53m
Julia vs Artosis
JDConan vs DragOn
OSC
23h 53m
BSL 21
1d 2h
TerrOr vs Aeternum
HBO vs Kyrie
RSL Revival
1d 14h
Wardi Open
1d 20h
IPSL
2 days
StRyKeR vs OldBoy
Sziky vs Tarson
BSL 21
2 days
StRyKeR vs Artosis
OyAji vs KameZerg
[ Show More ]
OSC
2 days
OSC
2 days
Monday Night Weeklies
2 days
OSC
3 days
Wardi Open
3 days
Replay Cast
4 days
Wardi Open
4 days
Tenacious Turtle Tussle
5 days
The PondCast
5 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-11-16
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.