Jump to content




New Template (Info)


4 replies to this topic

#1 LewisTehMinerz

  • Members
  • 174 posts
  • LocationMinecraft in Minecraft in Minecraft in ComputerCraft... in Minecraft

Posted 22 October 2015 - 03: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 by LewisTehMinerz, 22 October 2015 - 04:12 PM.


#2 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 22 October 2015 - 03:56 PM

What are these templates for in the wiki anyways?

#3 LewisTehMinerz

  • Members
  • 174 posts
  • LocationMinecraft in Minecraft in Minecraft in ComputerCraft... in Minecraft

Posted 22 October 2015 - 04: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.

#4 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 22 October 2015 - 10: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 by Bomb Bloke, 22 October 2015 - 10:28 PM.


#5 LewisTehMinerz

  • Members
  • 174 posts
  • LocationMinecraft in Minecraft in Minecraft in ComputerCraft... in Minecraft

Posted 23 October 2015 - 02: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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users