223 posts
Location
Minecraft in Minecraft in Minecraft in ComputerCraft... in Minecraft
Posted 22 October 2015 - 04:38 PM
Hey there guys! I just made a quick template here based off the 'Marked for deletion' template. I call it the Info template.
Syntax is as follows:
{{info|Type your message here}}
Easy right? If you don't type a message it will say 'No information provided. Contact the author of this page.' as it should not be blank!
-LewisTehMinerz
(More information can be found
here)
Edited on 22 October 2015 - 03:12 PM
2679 posts
Location
You will never find me, muhahahahahaha
Posted 22 October 2015 - 04:56 PM
What are these templates for in the wiki anyways?
223 posts
Location
Minecraft in Minecraft in Minecraft in ComputerCraft... in Minecraft
Posted 22 October 2015 - 05:11 PM
MediaWiki allows you to create templates (which are pre-defined code) to put into your wiki pages so you don't have to retype that text over and over.
7083 posts
Location
Tasmania (AU)
Posted 22 October 2015 - 11:23 PM
For example,
the changelog is written as a template. This allows the one single copy to appear within
multiple pages, and updating the one template applies the changes to both.
That said, I'm not sure what
this template is for. All pages should contain "info" anyway; that's what they're there for, no? It strikes me that
Lua Resource Pack Making (Tutorial) would be better off making use of the pre-existing
stub or
msgbox templates.
Edited on 22 October 2015 - 09:28 PM
223 posts
Location
Minecraft in Minecraft in Minecraft in ComputerCraft... in Minecraft
Posted 23 October 2015 - 03:57 PM
1. The stub message box doesn't allow custom text.
2. I don't like the MsgBox template which is basically stub.
All I wanted to make was a better looking template for important info.