(test something stupid) |
(test using <page name> instead of magic word) |
||
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:{{#explode: | {{{field|filecat|input type=radiobutton|values=Images, Audio, Videos|default={{#switch:{{#explode:<page name>|.|-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=None}}|{{#switch:{{#explode: | |#default=None}}|{{#switch:{{#explode:<page name>|.|-1}} | ||
|png|jpg|jpeg|gif|ogg|wav|mp3|mp4|mov|ogv|mkv=hidden | |png|jpg|jpeg|gif|ogg|wav|mp3|mp4|mov|ogv|mkv=hidden | ||
|#default=mandatory}}|show on select=Images=>images;Audio=>audio;Videos=>videos}}} | |#default=mandatory}}|show on select=Images=>images;Audio=>audio;Videos=>videos}}} |
Revision as of 03:35, 26 July 2024
This is the "File" form. It should be used to edit pages in the File namespace.