m (try fixing show on select) |
(test something stupid) |
||
Line 9: | Line 9: | ||
{{{info|create title=<page name>|edit title=<page name>}}} | {{{info|create title=<page name>|edit title=<page name>}}} | ||
{{{for template|Infobox image}}} | {{{for template|Infobox image}}} | ||
{{{field|filecat|input type=radiobutton|values=Images, Audio, Videos|default={{#switch: | {{{field|filecat|input type=radiobutton|values=Images, Audio, Videos|default={{#switch:{{#explode:{{PAGENAMEE}}|.|-1}} | ||
|png|jpg|jpeg|gif=Images | |png|jpg|jpeg|gif=Images | ||
|ogg|wav|mp3=Audio | |ogg|wav|mp3=Audio | ||
|mp4|mov|ogv|mkv=Videos{{ | |mp4|mov|ogv|mkv=Videos | ||
|#default= | |#default=None}}|{{#switch:{{#explode:{{PAGENAMEE}}|.|-1}} | ||
|png|jpg|jpeg|gif|ogg|wav|mp3|mp4|mov|ogv|mkv=hidden | |||
|#default=mandatory}}|show on select=Images=>images;Audio=>audio;Videos=>videos}}} | |||
<table class="formtable"> | <table class="formtable"> | ||
<tr> | <tr> |
Revision as of 03:34, 26 July 2024
This is the "File" form. It should be used to edit pages in the File namespace.