Template:HasMMG: Difference between revisions

From Melvor Idle
(Use Template:MessageBox for consistency across message boxes)
m (Fix space)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<onlyinclude>{{MessageBox|img=[[File:Coins.svg|35x35px|center|link=]]
{{MessageBox|img=[[File:Coins.svg|35x35px|center|link=]]
| This article has a money making guide [[{{{page|Money Making}}}/{{{1|{{PAGENAME}}}}}|here]].
| This article has {{#if:{{{2|}}}||a}} money making guide{{#if:{{{2|}}}|s|}} that can be found [[Money Making/{{{1}}}|here]] {{#if:{{{2|}}}|and [[Money Making/{{{2}}}|here]]|}}.
| Please add tips to the subpage, rather than the article below.
| Please add tips to the subpage, rather than the article below.
}}</onlyinclude><noinclude>
}}{{#ifexist: Money Making/{{{1}}}||{{MainOnly|[[Category:Pages with a broken money making guide link]]}}}}{{#if:{{{2|}}}|{{#ifexist: Money Making/{{{2}}}||{{MainOnly|[[Category:Pages with a broken money making guide link]]}}}}}}<noinclude>{{/doc}}</noinclude>
 
Links 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.
 
First parameter can specify an alternate sub-page: {{T|HasMMG|Fletching Dragon Javelins}}
 
<code>page=</code> parameter can specify a different page entirely: {{T|HasMMG|page=Scripting and Extensions}}
</noinclude>

Latest revision as of 21:32, 30 October 2024

Creates a message box linking to a money making guide page.


First parameter is the page name of the money making guide. For instance: {{HasMMG|Thieving Vampires}}


Second (optional) parameter is for a second guide, if one exists. {{HasMMG|Agility|High Level Agility}}