Template:HasMMG: Difference between revisions

From Melvor Idle
m (Amend parameter typo)
No edit summary
Line 2: Line 2:
| This article has a money making guide at [[{{{page|Money Making}}}{{#ifeq:{{{nosub|}}}||/{{{1|{{PAGENAME}}}}}|}}]].
| This article has a money making guide at [[{{{page|Money Making}}}{{#ifeq:{{{nosub|}}}||/{{{1|{{PAGENAME}}}}}|}}]].
| Please add tips to the subpage, rather than the article below.
| Please add tips to the subpage, rather than the article below.
}}</onlyinclude><noinclude>
}}</onlyinclude><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}}
 
The <code>page</code> parameter can specify a different page entirely: {{T|HasMMG|page=Scripting and Extensions}}
 
The <code>nosub</code> parameter, if specified, indicates that a sub-page should not be used, but rather the template should link to only the page specified by <code>page</code>: {{T|HasMMG|Money Making|nosub=true}}
</noinclude>

Revision as of 15:38, 13 June 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}}