Changes

Jump to navigation Jump to search

Game Tech Wiki:Editing guide

898 bytes added, 10:31, 29 December 2020
Templates
To add a page to a category, you need to include the line<br>
<code><nowiki>[[Category:CATEGORYNAME]]</nowiki></code><br>somewhere in the page's code (preferably at the bottom), where CATEGORYNAME is the name of the category, for example <code><nowiki>[[Category:Repair]]</nowiki></code>.
To link to a category page, you can use normal wiki syntax for linking to other pages on the wiki, but you must add : before Category. For instance, the code for [[:Category:Console|this link]] is <code><nowiki>[[:Category:Console|this link]]</nowiki></code>.
==Templates==
To use a template in a page, use the syntax <code><nowiki>{{{template_name}}}</nowiki></code> where you want the template to be. You do not need to prefix the template name with <code>Template:</code> or capitalize the name. For more information about using and creating templates, see [http://en.wikipedia.org/wiki/Help:Template Help:Template on Wikipedia]. ===Template:Emulation======Template:Infobox console======Template:Stub===This is the standard stub template used on most wikis. Inserting <code><nowiki>{{Stub}}</nowiki></code> in an article will produce::<div class="notice metadata plainlinks" id="stub"><span style="color:#9c0000">''This article is a [[:Category:Article stubs|stub]]. You can help {{SITENAME}} by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].''</span></div>===Template:WIP===This is the standard work-in-progress template used on most wikis. Inserting <code><nowiki>{{WIP}}</nowiki></code> in an article will produce::<div class="notice metadata plainlinks" id="wip"><span style="color:#9c0000">''This {{#switch:{{{1}}} | section = section | article}} is a [[:Category:Article WIP|work in progress (WIP)]]. You can help {{SITENAME}} by [{{fullurl:{{FULLPAGENAME}}|action=edit}} improving it].''</span></div>

Navigation menu