×
Create a new article
Write your page title here:
We currently have 2,844 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
2,844Articles

Form:File: Difference between revisions

(change default to placeholder)
(might be done)
Line 5: Line 5:
{{#forminput:form=File|autocomplete on namespace=File|namespace=File}}
{{#forminput:form=File|autocomplete on namespace=File|namespace=File}}


</noinclude><includeonly>PAGENAMEE: {{PAGENAMEE}}
</noinclude><includeonly>
 
file extension switch: {{#explode:{{PAGENAMEE}}|.|-1}}
 
file extension switch: {{#switch:{{#explode:{{PAGENAMEE}}|.|-1}}
|png|jpg|jpeg|gif=Images
|ogg|wav|mp3=Audio
|mp4|mov|ogv|mkv=Videos
|#default=None}}
 
without underscore prefix: {{#explode:{{#explode:{{PAGENAMEE}}|_|1|2}}|.|0}}
 
<div id="wikiPreview" title="test" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
<div id="wikiPreview" title="test" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{info|create title=<page name>|edit title=<page name>}}}
{{{info|create title=<page name>|edit title=<page name>}}}
Line 24: Line 13:
<th style="text-align:center;"> Type </th>
<th style="text-align:center;"> Type </th>
<th style="text-align:center; width:100%;"> Input </th>
<th style="text-align:center; width:100%;"> Input </th>
</tr><tr>
<th> File: </th>
<td> {{{field|filecat|input type=radiobutton|values=Images, Audio, Videos|default={{#switch:{{#explode:{{PAGENAMEE}}|.|-1}}
|png|jpg|jpeg
|ogg|wav|mp3=Audio
|mp4|mov|ogv|mkv=Videos
|#default=Audio}}|mandatory}}} </td>
</tr><tr>
</tr><tr>
<th> Raw Name: </th>
<th> Raw Name: </th>

Revision as of 04:07, 26 July 2024

This is the "File" form. It should be used to edit pages in the File namespace.