#Navbox / Templates Beginner Help

16 messages · Page 1 of 1 (latest)

atomic maple
#

I have been stuck on creating templates for weeks now, none of the online guides seem to get me the visuals I want. Every time I try writing my own template pages nothing shows up, is there any way for me to make my own navbox template without importing anything, relying on a bunch of dependencies, or delving into LUA modules?

I can't even seem to figure out how to fill the navbox template from the devwiki so that it displays properly. Overall very confused, I just want to understand how anything more complicated than a welcome message template works!

near schooner
#

w/o lua…that sounds requiring literally tons of wikitext with complicatedly nested brackets

atomic maple
#

I don't really get how parameters work as of yet I'm afraid... I'm confused on where the information for stuff in brackets comes from and where to put it, and how to get named variables using pipes... infoboxes were very easy for me to understand but normal templates have me stumped!

#

now the ParserFunctions extension, is that on by default on miraheze wikis? I can't find it in the manage extensions page. Or will I need to upload it to my wikii manually?

atomic maple
#

OH I've read this a dozen times but I think it's finally clicking... thank you! I'm still struggling a bit with the navbox template but I do think I understand it a bit better now

near schooner
#

you can do it little by little. for example, start with a little version with only a title, a group1 and a list1 parameters

#

once you're used to it, more groups and lists are only repeated {{#if:}}’s. it's quite repeated and delicate work (and that's why we usually create the navbox meta template with lua rather than wikitext)

atomic maple
#

yes the template does seem very complicated at a glance lol, but I think it's mostly because the parameters are all bunched together. It'll be easier to piece things together now that I get how parameters are separated/called and all that. Thank you so much!

#

one last thing... are lua modules really as scary and complicated for beginners as people say? I haven't looked into them all that much

near schooner
#

not really especially when you know another programming language

sharp cairn
uncut chasm
#

I rather have brackets and curly brackets than LUA (ugh) but each their own.

atomic maple