Difference between revisions of "Template:Download"

From Mario Fan Games Galaxy Wiki
(Undo revision 48010 by Q-Nova (talk) Okay, it doesn't look like it works. Not sure why, though.)
(Hold on, I think I might have fixed it.)
Line 3: Line 3:
 
|valign="top" |
 
|valign="top" |
 
[[File:Mfggnewdownload.png|left|link=http://www.mfgg.net/index.php?act=resdb&param=02&c=2&id={{{1}}}]]
 
[[File:Mfggnewdownload.png|left|link=http://www.mfgg.net/index.php?act=resdb&param=02&c=2&id={{{1}}}]]
[http://www.mfgg.net/index.php?act=resdb&param=02&c=2&id={{{1}}} Download '''''{{PAGENAME}}''''' from MFGG's main site]
+
[http://www.mfgg.net/index.php?act=resdb&param=02&c=2&id={{{1}}} Download '''''{{{3|{{PAGENAME}}}}}''''' from MFGG's main site]
 
<div style="font-size:90%;">File Size: {{{2|Unknown}}}</div>
 
<div style="font-size:90%;">File Size: {{{2|Unknown}}}</div>
 
|}
 
|}
 
<noinclude>==Usage==
 
<noinclude>==Usage==
<pre>{{Download|<GAME'S ID NUMBER>|FILE SIZE}}</pre>
+
<pre>{{Download|<GAME'S ID NUMBER>|FILE SIZE|GAME NAME}}</pre>
 
The game's ID number is the digits at the end of a game page's URL
 
The game's ID number is the digits at the end of a game page's URL
  
Line 18: Line 18:
 
<pre>{{Download|31163}}</pre>
 
<pre>{{Download|31163}}</pre>
  
Simple. No need to worry about anything else, although putting in the file size is appreciated.
+
Simple. No need to worry about anything else, although putting in the file size is appreciated. Sometimes you might need to have it use a different name instead of the article name, which is what it uses if nothing is put in.
  
 
However this template is limited to just games. It can be altered to cover more areas but at the expense of adding further complications to things.
 
However this template is limited to just games. It can be altered to cover more areas but at the expense of adding further complications to things.
  
 
[[Category:Information Templates]]</noinclude>
 
[[Category:Information Templates]]</noinclude>

Revision as of 03:02, 12 January 2017

Mfggnewdownload.png

Download Download from MFGG's main site

File Size: Unknown

Usage

{{Download|<GAME'S ID NUMBER>|FILE SIZE|GAME NAME}}

The game's ID number is the digits at the end of a game page's URL

e.g. Toads vs. Koopas's main site game page's URL is

http://www.mfgg.net/index.php?act=resdb&param=02&c=2&id=31163

The number at the end is 31163 so the template would look like

{{Download|31163}}

Simple. No need to worry about anything else, although putting in the file size is appreciated. Sometimes you might need to have it use a different name instead of the article name, which is what it uses if nothing is put in.

However this template is limited to just games. It can be altered to cover more areas but at the expense of adding further complications to things.