|
|
Line 1: |
Line 1: |
− | <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; border-bottom: solid 1px black; background: #A3C266; line-height:28px;">[[File:Grid_Ink_Sac.png|24px]] Documentation for {{{1|unknown}}}</td></tr> | + | <includeonly><div class="doc"> |
− | <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>
| + | <div class="header">Documentation</div> |
− | </table>
| + | {{#if: {{{content|}}} |
− | | + | |{{{content}}} |
− | <noinclude>
| + | |<div class="buttons plainlinks">[ [[{{FULLPAGENAME}}/doc|view]] | [{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit] | [{{fullurl:{{FULLPAGENAME}}/doc|action=history}} History] ]</div> |
− | | + | {{{{FULLPAGENAME}}/doc}} |
− | ----
| + | }} |
− | | + | </div></includeonly><noinclude>{{Documentation|content=Test}} |
− | | + | |
− | {{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 show where the newline character is):
| + | |
− | | + | |
− | <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> | + | |