Template:HasGuide: Difference between revisions

From Melvor Idle
mNo edit summary
(Use Template:MessageBox for consistency across message boxes)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
<onlyinclude>
<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:40px; border:none;" | <div style="float:right;">{{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>
|}</onlyinclude>
 
<noinclude>
{{HasGuide}}


Link to a guide page from its parent page directly.
Link to a guide page from its parent page directly.

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}}