Template:HasMMG: Difference between revisions

From Melvor Idle
(Created page with "<onlyinclude> {| class="wikitable" style="width:500px; margin:auto; border-left:8px solid #0088dd;" |- |style="width:40px; border:none;" | <div style="float:right;">File:Coi...")
 
(Use Template:MessageBox for consistency across message boxes)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>{{MessageBox|img=[[File:Coins.svg|35x35px|center|link=]]
{| class="wikitable" style="width:500px; margin:auto; border-left:8px solid #0088dd;"
| This article has a money making guide [[{{{page|Money Making}}}/{{{1|{{PAGENAME}}}}}|here]].
|-
| Please add tips to the subpage, rather than the article below.
|style="width:40px; border:none;" | <div style="float:right;">[[File:Coins.svg|35x35px|center|link=]]</div>
}}</onlyinclude><noinclude>
|style="border:none;" | This article has a money making 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;">Please add tips to the subpage, rather than the article below.</div>
|}</onlyinclude>


<noinclude>
Links to a guide page from its parent page directly.
<h1>Placeholder Template until [[Money Making]] is reorganized.</h1>


Link to a guide page from its parent page directly.
Syntax is {{T|HasMMG}} when the Money Making subpage is the same as the current page.


Syntax is {{T|HasMMG}} when the guide page is /Guide.
First parameter can specify an alternate sub-page: {{T|HasMMG|Fletching Dragon Javelins}}


First parameter can specify an alternate sub-page: {{T|HasGuide|Training}}
<code>page=</code> parameter can specify a different page entirely: {{T|HasMMG|page=Scripting and Extensions}}
 
<code>page=</code> parameter can specify a different page entirely: {{T|HasGuide|page=Scripting and Extensions}}
</noinclude>
</noinclude>

Latest revision as of 22:11, 5 June 2022

Links to a guide page from its parent page directly.

Syntax is {{HasMMG}} when the Money Making subpage is the same as the current page.

First parameter can specify an alternate sub-page: {{HasMMG|Fletching Dragon Javelins}}

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