Template:HasGuide: Difference between revisions

From Melvor Idle
mNo edit summary
(Use Template:MessageBox for consistency across message boxes)
 
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;">[[File:Event_Clue_1_(item).svg|35x35px|center|link={{#if:{{{1|}}}|[[{{PAGENAME}}/{{{1}}}]]| {{#if:{{{page|}}}|[[{{{page}}}]]|[[{{PAGENAME}}/Guide]]}}}}]]</div>
}}</onlyinclude><noinclude>
|style="border:none;" | This article has a strategy guide {{#if:{{{1|}}}|[[{{PAGENAME}}/{{{1}}}|here]]| {{#if:{{{page|}}}|[[{{{page}}}|here]]|[[{{PAGENAME}}/Guide|here]]}}}}.
<br style="clear: both;"/><div style="font-size:0.85em; line-height:1.4em;">All information on strategy will be on this page.</div>
|}</onlyinclude>


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