Template:Main: Difference between revisions

From Songs of Syx Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
:''Main article: [[{{{1}}}]]''<noinclude><br /><br />''This template is used to show that there is a page that further explains a section that is being mentioned. An example is shown below. The syntax of the template is'' <code><nowiki>{{main|page_title}}</nowiki></code>.
:''Main article: [[{{{1}}}]]''<noinclude>{{Main/doc}}[[Category:Templates]]</noinclude>
==Section==
{{main|Wood}}
Wood is a resource in the game! Don't mind the extra space between this text and the template just above it. It's just a formatting error of the wiki. The extra space won't show up on other pages.</noinclude>
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 23:42, 21 November 2021

Main article: [[{{{1}}}]]
Template Documentation

Description

This template is meant to be used for sections that cover a fraction of a topic, but let the reader know that there's an entire page devoted to what's being talked about in said section. For example, the resources page has a section that briefly talks about points gained through the administration building. So that very section in that page contains this template leading to the administration page.

Syntax

{{main|<PAGE_TITLE>}} should be placed at the very top of a section.

Examples

Typing {{main|Stone}} creates the following:

Main article: Stone

If you need to use more than one of these templates, you can put the templates side by side in the editor, which makes them stack on top of each other, like this:

Main article: Building
Main article: Mines and deposits