Template:HasMMG: Difference between revisions

From Melvor Idle
mNo edit summary
m (Fix space)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<onlyinclude>
{{MessageBox|img=[[File:Coins.svg|35x35px|center|link=]]
{| class="wikitable" style="width:500px; margin:auto; border-left:8px solid #0088dd;"
| 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.
|style="width:40px; border:none;" | <div style="float:right;">[[File:Coins.svg|35x35px|center|link=]]</div>
}}{{#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>
|style="border:none;" | This article has a money making guide {{#if:{{{1|}}}|[[Money_Making/{{{1}}}|here]]| {{#if:{{{page|}}}|[[{{{page}}}|here]]|[[Money_Making/{{PAGENAME}}|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>
<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 guide page is /Guide.
 
First parameter can specify an alternate sub-page: {{T|HasGuide|Training}}
 
<code>page=</code> parameter can specify a different page entirely: {{T|HasGuide|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}}