Difference between revisions of "Template:Documentation"
From ComputerCraft Wiki
(Created page with "<table style="width: 100%; border: solid 1px black; margin: 2px; border-spacing: 0px;"><tr><td colspan="2" style="font-weight: bold; font-size: large; padding-bottom: .3em; bo...") |
|||
Line 2: | Line 2: | ||
<tr><td style="border-color: #A3C266; padding: .4em; padding-left: .4em; background: #A3C266" colspan="2">{{{2|There is no documentation for this page}}}</td></tr> | <tr><td style="border-color: #A3C266; padding: .4em; padding-left: .4em; background: #A3C266" colspan="2">{{{2|There is no documentation for this page}}}</td></tr> | ||
</table> | </table> | ||
+ | |||
+ | <noinclude> | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | {{documentation|Documentation Template|This is the documentation template. For template documentation, this template is used inside <nowiki><noinclude></nowiki> braces so it doesn't show up on the template, for other uses, just use it regularly. | ||
+ | |||
+ | == MediaWiki Markup== | ||
+ | |||
+ | Horray! MediaWiki Markup is supported in this template! You can have standard MediaWiki markup such as headlines and signatures. | ||
+ | |||
+ | == Usage == | ||
+ | |||
+ | <code><nowiki>{{documentation|Title|Example text}}</nowiki></code> | ||
+ | |||
+ | The following code would produce: | ||
+ | |||
+ | {{documentation|Title|Example text}} | ||
+ | |||
+ | == Multiple Lines == | ||
+ | |||
+ | Also, the documentation template's second argument can be spread over a few lines. Example (/'s are the new lines): | ||
+ | |||
+ | <code><nowiki>{{documentation|Title|This / is / example / text}}</nowiki></code> | ||
+ | |||
+ | When this code is parsed through... | ||
+ | |||
+ | {{documentation|Title|This | ||
+ | is | ||
+ | example | ||
+ | text}} | ||
+ | |||
+ | Thats the end of the documentation! Thanks for reading! }} | ||
+ | |||
+ | Template made by [[User:LewisTehMinerz|LewisTehMinerz]] ([[User talk:LewisTehMinerz|talk]]) 16:03, 22 October 2015 (UTC) | ||
+ | </noinclude> |
Revision as of 16:03, 22 October 2015
Documentation for unknown | |
There is no documentation for this page |
Template made by LewisTehMinerz (talk) 16:03, 22 October 2015 (UTC)