Template:HasGuide: Difference between revisions

From Melvor Idle
mNo edit summary
(Use Template:MessageBox for consistency across message boxes)
 
(14 intermediate revisions by one other user not shown)
Line 1: Line 1:
<onlyinclude>{{#vardefine:Page|{{{1|{{[[/Guide]]}}}}}}}<includeonly><!--
<onlyinclude>{{MessageBox|img=[[File:Event_Clue_1_(item).svg|35x35px|center|link={{{page|{{PAGENAME}}}}}/{{{1|Guide}}}]]
-->{| class="wikitable" style="width:500px; margin:auto; border-left:8px solid #0088dd;"
| This article has a strategy guide [[{{{page|{{PAGENAME}}}}}/{{{1|Guide}}}|here]].
|-
| All information on strategy will be on this page.
|style="width:50px; border:none;" | <div style="float:right; margin-left:12px;">{{Icon|Event Clue 1|type=item|notext=true|size=35}}</div>
}}</onlyinclude><noinclude>
|style="border:none;" | This article has a guide {{#if:{{{1|}}}|[[/{{{1}}}|here]]| {{#if:{{{page|}}}|[[{{{page}}}|here]]|[[/Guide|here]]}}}}.<br style="clear: both;"/><div style="font-size:0.85em; line-height:1.4em;">All information on mechanics and strategy will be on this page.</div>
|}</includeonly></onlyinclude>


{{HasGuide|Training}}
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}}