Template:HasMMG: Difference between revisions

m
Amend parameter typo
(Implement nosub parameter)
m (Amend parameter typo)
Line 1: Line 1:
<onlyinclude>{{MessageBox|img=[[File:Coins.svg|35x35px|center|link=]]
<onlyinclude>{{MessageBox|img=[[File:Coins.svg|35x35px|center|link=]]
| This article has a money making guide at [[{{{page|Money Making}}}{{#ifeq:{{{nopage|}}}||/{{{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>
Line 12: Line 12:
The <code>page</code> parameter can specify a different page entirely: {{T|HasMMG|page=Scripting and Extensions}}
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|nopage=true}}
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>
</noinclude>