276
edits
Welcome to Mariopedia! If you want to request an account, please do so at Mario Wiki or Fanonpedia.
(→Code documentation: fix interwiki) |
(more consistent with MarioWiki modern version) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{file1|}}}|{{media table/{{#switch:{{lc:{{{type1}}}}}|video=OGV|audio=OGA|#default=row}}|type={{{type1|}}}|file={{{file1|}}}|title={{{title1|}}}|description={{{description1|}}}| | |||
:<small>[[Help:Media]] • [[Wikipedia:Help:Media (audio and video)|Having trouble playing?]]</small></includeonly><noinclude>{{{{PAGENAME}} | :<small>[[Help:Media]] • [[Wikipedia:Help:Media (audio and video)|Having trouble playing?]]</small></includeonly><noinclude>{{{{PAGENAME}} | ||
|type1=video | |type1=video | ||
| | |file1=Example | ||
| | |title1=Example Video | ||
|description1=Showing an example. | |description1=Showing an example. | ||
|length1=0:12 | |length1=0:12 | ||
|type2=audio | |type2=audio | ||
| | |file2=Example | ||
| | |title2=Example Audio | ||
|description2=Showing an example. | |description2=Showing an example. | ||
|length2=0:12 | |length2=0:12 | ||
| | |file3=Example | ||
| | |title3=Example Media | ||
|description3=Showing an example. | |description3=Showing an example. | ||
|length3=0:12 | |length3=0:12 | ||
Line 120: | Line 120: | ||
<pre><nowiki>{{media table | <pre><nowiki>{{media table | ||
|type1=video | |type1=video | ||
| | |file1=Example | ||
| | |title1=Example Video | ||
|description1=Showing an example. | |description1=Showing an example. | ||
|length1=0:12 | |length1=0:12 | ||
|type2=audio | |type2=audio | ||
| | |file2=Example | ||
| | |title2=Example Audio | ||
|description2=Showing an example. | |description2=Showing an example. | ||
|length2=0:12 | |length2=0:12 | ||
| | |file3=Example | ||
| | |title3=Example Media | ||
|description3=Showing an example. | |description3=Showing an example. | ||
|length3=0:12 | |length3=0:12 | ||
Line 138: | Line 138: | ||
*<code>typeX</code> - Should be set to either "audio" or "video", but can be ignored. This parameter controls the icon displayed next to the file and how to handle the linked media. See [[Help:Media]] for information. | *<code>typeX</code> - Should be set to either "audio" or "video", but can be ignored. This parameter controls the icon displayed next to the file and how to handle the linked media. See [[Help:Media]] for information. | ||
*<code> | *<code>fileX</code> - The name that the file is uploaded under. It should omit the "File:" prefix and file extension (.ogg, .ogv, .oga). So for the file at "File:Example.ogv", this parameter would be defined as "Example". | ||
*<code> | *<code>titleX</code> - This should be the file's name as it will appear on the page. For instance, if a file is uploaded at "File:Example246.ogv", but it needs to appear on the page as simply "Example", <code>title</code> would be defined "Example246", and <code>title</code> "Example". In cases where <code>title</code> and <code>title</code> would be set to identical values, only <code>title</code> needs to be used. | ||
*<code>descriptionX</code> - A short description of the file that will appear with it on the page. | *<code>descriptionX</code> - A short description of the file that will appear with it on the page. | ||
*<code>lengthX</code> - HH:MM:SS format. Omit zeros please. | *<code>lengthX</code> - HH:MM:SS format. Omit zeros please. |