Don't like the ads? Then create an account! Users with accounts have more options than anonymous users. |
Editing Template:Media table
From Triforce Wiki, a The Legend of Zelda wiki
Jump to navigationJump to search
You are not currently logged in. If you log in or create an account, your edits will be attributed to your username, along with other benefits. While you are free to edit without logging in, your IP address will be recorded publicly, along with the time and date, in this template's edit history. Messages sent to your IP can be viewed on your talk page. | ||
Click here to log in | Click here to sign up |
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 137: | Line 137: | ||
The purpose of this template is to cleanly insert up to 100 audio and video files into pages. The following parameters may be defined when using it. Replace <code>X</code> with a number between 1-100. | The purpose of this template is to cleanly insert up to 100 audio and video files into pages. The following parameters may be defined when using it. Replace <code>X</code> with a number between 1-100. | ||
*<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 | *<code>typeX</code> - Should be set to either "audio" or "video", but can be ignored. However, it shouldn't because of [[MarioWiki:Proposals/Archive 47#Discourage OGG Extension (Not Format)|a proposal]]. See [[Help:Media]]. This parameter controls the icon displayed next to the file and how to handle the linked media. | ||
*<code>nameX</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>nameX</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>pipeX</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>name</code> would be defined "Example246", and <code>pipe</code> "Example". In cases where <code>name</code> and <code>pipe</code> would be set to identical values, only <code>name</code> needs to be used. | *<code>pipeX</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>name</code> would be defined "Example246", and <code>pipe</code> "Example". In cases where <code>name</code> and <code>pipe</code> would be set to identical values, only <code>name</code> needs to be used. |