Template:HasGuide: Difference between revisions

From Melvor Idle
(Created page with "<includeonly>{{MessageBox |img = center|link= |This article has a guide {{#if:{{{1|}}}|[[/{{{1}}}|here]]| {{#if:{{{page|}}}|[[{{{page}}}|here]...")
 
(Use Template:MessageBox for consistency across message boxes)
 
(47 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{MessageBox
<onlyinclude>{{MessageBox|img=[[File:Event_Clue_1_(item).svg|35x35px|center|link={{{page|{{PAGENAME}}}}}/{{{1|Guide}}}]]
|img = [[File:Event_Clue_1_(item).svg|center|link=]]
| This article has a strategy guide [[{{{page|{{PAGENAME}}}}}/{{{1|Guide}}}|here]].
|This article has a guide {{#if:{{{1|}}}|[[/{{{1}}}|here]]| {{#if:{{{page|}}}|[[{{{page}}}|here]]|[[/Guide|here]]}}}}.
| All information on strategy will be on this page.
|All information on mechanics and strategy will be on this page.
}}</onlyinclude><noinclude>
}}</includeonly><noinclude>{{/doc}}</noinclude>
 
Link to a guide page from its parent page directly.
 
Syntax is {{T|HasGuide}} when the guide page is /Guide.
 
First parameter can specify an alternate sub-page: {{T|HasGuide|Training}}
 
<code>page=</code> parameter can specify a different page entirely: {{T|HasGuide|page=Scripting and Extensions}}
</noinclude>

Latest revision as of 22:03, 5 June 2022

Link to a guide page from its parent page directly.

Syntax is {{HasGuide}} when the guide page is /Guide.

First parameter can specify an alternate sub-page: {{HasGuide|Training}}

page= parameter can specify a different page entirely: {{HasGuide|page=Scripting and Extensions}}