Template:Main: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
m (Removed extra line break)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>:''Main: {{{1}}}''</includeonly>
<includeonly>:''Main {{#if:{{{section|}}}|section|article}}: {{{1}}}''</includeonly><noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Link Templates]]
[[Category:Link Templates]]
</noinclude>
</noinclude>

Latest revision as of 22:58, 20 November 2023

Purpose

Template used to link to a main page or section where more detailed information can be found. Use a silcrow (§) when linking to sections.

Usage

Parameter Description
section Must be given a value (such as "1" or "y") to display. Changes header from article to section.
1 Link to the page or section, must use brackets.

Code

{{Main|1}}
{{Main|section=|1}}

Examples

{{Main|[[Shin Megami Tensei (Game)]]}}
Main article: Shin Megami Tensei (Game)
{{Main|section=1|[[Shin Megami Tensei IV#Gameplay|Shin Megami Tensei IV § Gameplay]]}}
Main section: Shin Megami Tensei IV § Gameplay