Tomba Wiki:Edit guide: Difference between revisions

From Tomba! Wiki
Jump to navigation Jump to search
(Created page with "Welcome to the Tomba Wiki. Our aim is to create a comprehensive wiki detailing everything about the Tomba series. If you're interested in editing but not sure how to start, [...")
 
(Add info about template documentation)
Line 2: Line 2:


If you're interested in editing but not sure how to start, [https://discord.gg/GWCjPpy join us on Discord] and we'll help you out.
If you're interested in editing but not sure how to start, [https://discord.gg/GWCjPpy join us on Discord] and we'll help you out.
==Template documentation==
To document a complicated template, copy and paste the following:
<pre>
<noinclude>
{{TemplateDocumentationStart | Info box for documenting complicated templates. }}
{{TemplateDocumentationSectionStart | Usage | multiline }}
&lt;pre>
Add example code here.
&lt;/pre>
{{TemplateDocumentationSectionEnd }}
{{TemplateDocumentationSectionStart | Arguments }}
{{TemplateDocumentationArgument | argument_example_1 | Explanation of the argument 1 }}
{{TemplateDocumentationArgument | argument_example_2 | Explanation of the argument 2 }}
{{TemplateDocumentationSectionEnd }}
{{TemplateDocumentationSectionStart | Examples | multiline }}
Add some examples here.
{{TemplateDocumentationSectionEnd }}
{{TemplateDocumentationEnd}}
</noinclude>
</pre>
Then put your actual template itself underneath, preferably inside an <code>&lt;includeonly></code> tag.


==System pages==
==System pages==

Revision as of 17:22, 24 May 2020

Welcome to the Tomba Wiki. Our aim is to create a comprehensive wiki detailing everything about the Tomba series.

If you're interested in editing but not sure how to start, join us on Discord and we'll help you out.

Template documentation

To document a complicated template, copy and paste the following:

<noinclude>
{{TemplateDocumentationStart | Info box for documenting complicated templates. }}
{{TemplateDocumentationSectionStart | Usage | multiline }}
<pre>
Add example code here.
</pre>
{{TemplateDocumentationSectionEnd }}
{{TemplateDocumentationSectionStart | Arguments }}
{{TemplateDocumentationArgument | argument_example_1 | Explanation of the argument 1 }}
{{TemplateDocumentationArgument | argument_example_2 | Explanation of the argument 2 }}
{{TemplateDocumentationSectionEnd }}
{{TemplateDocumentationSectionStart | Examples | multiline }}
Add some examples here.
{{TemplateDocumentationSectionEnd }}
{{TemplateDocumentationEnd}}
</noinclude>

Then put your actual template itself underneath, preferably inside an <includeonly> tag.

System pages