• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 18:54
CEST 00:54
KST 07:54
  • 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
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
[BSL20] Non-Korean Championship 4x BSL + 4x China1Flash Announces Hiatus From ASL63Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event22Esports World Cup 2025 - Final Player Roster16
StarCraft 2
General
Program: SC2 / XSplit / OBS Scene Switcher The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Weekly Cups (June 23-29): Reynor in world title form? PiG Sty Festival #5: Playoffs Preview + Groups Recap
Tourneys
RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays Korean Starcraft League Week 77
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
SC uni coach streams logging into betting site Player “Jedi” cheat on CSL Flash Announces Hiatus From ASL BW General Discussion Practice Partners (Official)
Tourneys
[BSL20] Non-Korean Championship 4x BSL + 4x China CSL Xiamen International Invitational The Casual Games of the Week Thread [BSL20] Grand Finals - Sunday 20:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread What do you want from future RTS games? Beyond All Reason
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 Summer Games Done Quick 2025! Trading/Investing Thread Things Aren’t Peaceful in Palestine
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 528 users

Doing a wiki template

Blogs > FO-nTTaX
Post a Reply
FO-nTTaX
Profile Blog Joined January 2013
Johto4932 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
Hyrule19031 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
Johto4932 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
Hyrule19031 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
Johto4932 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 12h 6m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 181
Livibee 169
ProTech92
StarCraft: Brood War
Artosis 786
League of Legends
Grubby4864
Dendi1672
Counter-Strike
tarik_tv7195
fl0m1575
Stewie2K223
Super Smash Bros
Mew2King270
Chillindude95
Heroes of the Storm
Khaldor360
Other Games
summit1g8529
FrodaN2982
Pyrionflax197
ViBE192
Maynarde123
Organizations
Other Games
gamesdonequick43166
BasetradeTV55
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• blackmanpl 29
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• Ler95
League of Legends
• masondota2926
Other Games
• imaqtpie2255
• Shiphtur502
Upcoming Events
Wardi Open
12h 6m
Replay Cast
1d 1h
Sparkling Tuna Cup
1d 11h
WardiTV European League
1d 17h
MaNa vs sebesdes
Mixu vs Fjant
ByuN vs HeRoMaRinE
ShoWTimE vs goblin
Gerald vs Babymarine
Krystianer vs YoungYakov
PiGosaur Monday
2 days
The PondCast
2 days
WardiTV European League
2 days
Jumy vs NightPhoenix
Percival vs Nicoract
ArT vs HiGhDrA
MaxPax vs Harstem
Scarlett vs Shameless
SKillous vs uThermal
uThermal 2v2 Circuit
2 days
Replay Cast
3 days
RSL Revival
3 days
ByuN vs SHIN
Clem vs Reynor
[ Show More ]
Replay Cast
4 days
RSL Revival
4 days
Classic vs Cure
FEL
4 days
RSL Revival
5 days
FEL
5 days
FEL
5 days
Sparkling Tuna Cup
6 days
RSL Revival
6 days
FEL
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
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
IEM Cologne 2025
FISSURE Playground #1
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.