• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 11:34
CET 17:34
KST 01:34
  • 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
Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3RSL Season 3: RO16 results & RO8 bracket13
StarCraft 2
General
Chinese SC2 server to reopen; live all-star event in Hangzhou Maestros of the Game: Live Finals Preview (RO4) BGE Stara Zagora 2026 announced Weekly Cups (Nov 24-30): MaxPax, Clem, herO win SC2 Proleague Discontinued; SKT, KT, SGK, CJ disband
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament RSL Offline Finals Info - Dec 13 and 14! StarCraft Evolution League (SC Evo Biweekly) RSL Offline FInals Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation
Brood War
General
BW General Discussion Which season is the best in ASL? Data analysis on 70 million replays BGH Auto Balance -> http://bghmmr.eu/ [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[Megathread] Daily Proleagues [BSL21] RO16 Group D - Sunday 21:00 CET [BSL21] RO16 Group A - Saturday 21:00 CET [BSL21] RO16 Group B - Sunday 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 ZeroSpace Megathread Nintendo Switch Thread The Perfect Game Path of Exile
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
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Big Programming Thread Artificial Intelligence Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
Physical Exertion During Gam…
TrAiDoS
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1298 users

Doing a wiki template

Blogs > FO-nTTaX
Post a Reply
FO-nTTaX
Profile Blog Joined January 2013
Johto4957 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
Hyrule19173 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
Johto4957 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
Hyrule19173 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
Johto4957 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
OSC
16:00
OSC Elite Rising Star #17
Demi vs Mixu
Nicoract vs TBD
Babymarine vs MindelVK
ForJumy vs TBD
Shameless vs Percival
SteadfastSC42
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko468
mouzHeroMarine 264
ProTech117
SteadfastSC 42
Codebar 13
StarCraft: Brood War
Britney 27590
Jaedong 2169
EffOrt 959
GuemChi 738
Shuttle 733
Soma 523
Mini 511
Rush 393
Soulkey 366
ZerO 248
[ Show more ]
Snow 203
firebathero 189
BeSt 176
Sharp 89
PianO 62
Hyun 57
sorry 44
Mong 30
Shinee 29
Terrorterran 22
Aegong 22
soO 18
Sacsri 17
scan(afreeca) 11
HiyA 9
SilentControl 7
JulyZerg 3
Dota 2
Gorgc7372
Dendi738
syndereN516
420jenkins267
XcaliburYe227
Counter-Strike
fl0m5867
zeus3819
markeloff79
oskar62
edward42
Heroes of the Storm
Khaldor139
Other Games
Grubby1111
hiko913
Mlord394
DeMusliM313
ArmadaUGS104
Mew2King87
QueenE53
Trikslyr41
Livibee23
ZerO(Twitch)13
Organizations
StarCraft 2
WardiTV854
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• poizon28 12
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2896
• WagamamaTV433
League of Legends
• Jankos2392
Upcoming Events
Replay Cast
7h 26m
Korean StarCraft League
1d 10h
CranKy Ducklings
1d 17h
WardiTV 2025
1d 19h
SC Evo League
1d 19h
BSL 21
2 days
Sziky vs OyAji
Gypsy vs eOnzErG
OSC
2 days
Solar vs Creator
ByuN vs Gerald
Percival vs Babymarine
Moja vs Krystianer
EnDerr vs ForJumy
sebesdes vs Nicoract
Sparkling Tuna Cup
2 days
WardiTV 2025
2 days
OSC
2 days
[ Show More ]
BSL 21
3 days
Bonyth vs StRyKeR
Tarson vs Dandy
Replay Cast
3 days
Wardi Open
3 days
StarCraft2.fi
3 days
Monday Night Weeklies
4 days
Replay Cast
4 days
WardiTV 2025
4 days
StarCraft2.fi
4 days
PiGosaur Monday
5 days
StarCraft2.fi
5 days
Tenacious Turtle Tussle
6 days
The PondCast
6 days
WardiTV 2025
6 days
StarCraft2.fi
6 days
Liquipedia Results

Completed

Proleague 2025-11-30
RSL Revival: Season 3
Light HT

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
Acropolis #4 - TS3
META Madness #9
SL Budapest Major 2025
ESL Impact League Season 8
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
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
Kuram Kup
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 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.