• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:41
CEST 17:41
KST 00:41
  • 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
TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Chinese SC2 server to reopen; live all-star event in Hangzhou17Weekly Cups (Oct 13-19): Clem Goes for Four2BSL Team A vs Koreans - Sat-Sun 16:00 CET6Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)80
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" Weekly Cups (Oct 13-19): Clem Goes for Four Chinese SC2 server to reopen; live all-star event in Hangzhou Weekly Cups (March 17-23): Clem Bounces Back DreamHack Open 2013 revealed
Tourneys
RSL Season 2 Qualifier Links and Dates $1,200 WardiTV October (Oct 21st-31st) SC2's Safe House 2 - October 18 & 19 INu's Battles #13 - ByuN vs Zoun Tenacious Turtle Tussle
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
SnOw's Awful Building Placements vs barracks BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Is there anyway to get a private coach? BSL Season 21
Tourneys
[Megathread] Daily Proleagues 300$ 3D!Community Brood War Super Cup #4 [ASL20] Semifinal B Azhi's Colosseum - Anonymous Tournament
Strategy
Current Meta Roaring Currents ASL final [I] Funny Protoss Builds/Strategies BW - ajfirecracker Strategy & Training
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread Dawn of War IV ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
US Politics Mega-thread Things Aren’t Peaceful in Palestine The Chess Thread Russo-Ukrainian War Thread Men's Fashion Thread
Fan Clubs
The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Series you have seen recently... [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023 Formula 1 Discussion NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Our Last Hope in th…
KrillinFromwales
Certified Crazy
Hildegard
The Heroism of Pepe the Fro…
Peanutsc
Rocket League: Traits, Abili…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1366 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
Hyrule19144 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
Hyrule19144 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 19m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
LamboSC2 513
StarCraft: Brood War
Rain 6052
Calm 4486
Flash 3210
Bisu 1751
Horang2 1667
Hyuk 1004
Jaedong 955
Mini 617
Soma 551
firebathero 466
[ Show more ]
ZerO 457
EffOrt 413
Light 407
Stork 331
Zeus 302
Hyun 224
Snow 212
Soulkey 202
BeSt 141
Barracks 85
Rush 84
ggaemo 78
PianO 68
Mind 56
Killer 52
Movie 43
Sharp 39
Free 34
soO 26
Yoon 20
zelot 20
Shinee 19
ivOry 18
ajuk12(nOOB) 18
Terrorterran 17
scan(afreeca) 17
Rock 14
SilentControl 11
Sacsri 9
HiyA 8
Mong 1
Dota 2
qojqva3278
Dendi964
420jenkins315
syndereN285
BananaSlamJamma261
Counter-Strike
allub154
FunKaTv 34
Other Games
singsing2328
Hui .337
ceh9273
Liquid`VortiX195
FrodaN82
ArmadaUGS73
Mew2King49
KnowMe46
Trikslyr45
ZerO(Twitch)22
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• poizon28 64
• HeavenSC 15
• Kozan
• LaughNgamezSOOP
• AfreecaTV YouTube
• sooper7s
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 3113
• Noizen34
League of Legends
• Nemesis3277
• Jankos2150
• TFBlade489
Upcoming Events
OSC
19m
Tenacious Turtle Tussle
7h 19m
The PondCast
18h 19m
OSC
20h 19m
WardiTV Invitational
1d 19h
Online Event
2 days
RSL Revival
2 days
RSL Revival
2 days
WardiTV Invitational
2 days
Afreeca Starleague
3 days
Snow vs Soma
[ Show More ]
Sparkling Tuna Cup
3 days
WardiTV Invitational
3 days
CrankTV Team League
3 days
RSL Revival
4 days
Wardi Open
4 days
CrankTV Team League
4 days
Replay Cast
5 days
WardiTV Invitational
5 days
CrankTV Team League
5 days
Replay Cast
6 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 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.