• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 14:25
CEST 20:25
KST 03:25
  • 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
Maestros of the Game: Week 1/Play-in Preview5[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9
Community News
Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris40Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195
StarCraft 2
General
2024/25 Off-Season Roster Moves #2: Serral - Greatest Players of All Time #1: Maru - Greatest Players of All Time Maestros of the Game: Week 1/Play-in Preview Greatest Players of All Time: 2025 Update
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris LiuLi Cup - September 2025 Tournaments $5,100+ SEL Season 2 Championship (SC: Evo) Kirktown Chat Brawl #8 - 4.6K max Tonight LiuLi Cup - August 2025 Tournaments
Strategy
Custom Maps
External Content
Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below
Brood War
General
Post ASL20 Ro24 discussion. BGH Auto Balance -> http://bghmmr.eu/ Easiest luckies way to get out of Asl groups BW General Discussion No Rain in ASL20?
Tourneys
[ASL20] Ro24 Group F [IPSL] CSLAN Review and CSLPRO Reimagined! Small VOD Thread 2.0 Cosmonarchy Pro Showmatches
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
General RTS Discussion Thread Warcraft III: The Frozen Throne Path of Exile Mechabellum Nintendo Switch Thread
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread YouTube Thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s) Gtx660 graphics card replacement
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
How Culture and Conflict Imp…
TrAiDoS
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1506 users

Doing a wiki template

Blogs > FO-nTTaX
Post a Reply
FO-nTTaX
Profile Blog Joined January 2013
Johto4942 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
Hyrule19082 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
Johto4942 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
Hyrule19082 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
Johto4942 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
Maestros of the Game
16:00
Round of 24 Preliminary Stage
Astrea vs LamboLIVE!
Bunny vs SKillous
HeRoMaRinE vs TriGGeR
ComeBackTV 1407
CranKy Ducklings516
IndyStarCraft 314
CosmosSc2 78
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 652
IndyStarCraft 314
ProTech95
BRAT_OK 82
CosmosSc2 78
JuggernautJason54
Livibee 21
StarCraft: Brood War
Britney 28346
firebathero 452
Barracks 413
sSak 296
Aegong 105
Dewaltoss 95
Mong 81
yabsab 19
Stormgate
BeoMulf106
Dota 2
Gorgc6979
qojqva3492
Fuzer 338
Counter-Strike
fl0m4068
gobbtv893
Super Smash Bros
Mew2King72
Other Games
FrodaN1455
B2W.Neo945
Grubby903
Sick306
Hui .243
mouzStarbuck113
MindelVK25
ViBE0
Organizations
Other Games
gamesdonequick1052
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki30
• Pr0nogo 16
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• Ler81
Counter-Strike
• imaqtpie670
• Shiphtur219
Upcoming Events
BSL Team Wars
35m
Team Bonyth vs Team Sziky
BSL Team Wars
35m
Team Dewalt vs Team Sziky
Afreeca Starleague
15h 35m
Soulkey vs BeSt
Snow vs Light
Monday Night Weeklies
21h 35m
Replay Cast
1d 5h
Sparkling Tuna Cup
1d 15h
PiGosaur Monday
2 days
LiuLi Cup
2 days
Replay Cast
3 days
The PondCast
3 days
[ Show More ]
RSL Revival
3 days
Maru vs SHIN
MaNa vs MaxPax
RSL Revival
4 days
Reynor vs Astrea
Classic vs sOs
BSL Team Wars
5 days
Team Bonyth vs Team Dewalt
CranKy Ducklings
5 days
RSL Revival
5 days
GuMiho vs Cham
ByuN vs TriGGeR
Cosmonarchy
5 days
TriGGeR vs YoungYakov
YoungYakov vs HonMonO
HonMonO vs TriGGeR
[BSL 2025] Weekly
5 days
RSL Revival
6 days
Cure vs Bunny
Creator vs Zoun
Liquipedia Results

Completed

Acropolis #4 - TS1
WardiTV Summer 2025
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL Season 18: Qualifier 2
Maestros of the Game
Sisters' Call Cup
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL 2025 AUTUMN (S18)
LASL Season 20
2025 Chongqing Offline CUP
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
EC S1
BLAST Rivals Fall 2025
Skyesports Masters 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 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.