(change label Raw Name to Sorted as) |
(add Used in for BGM) |
||
Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" style="width:min(700px, 100%)" | <includeonly>{| class="wikitable" style="width:min(700px, 100%)" | ||
|+ | |+File Info | ||
|- | |- | ||
! style="width:8ch;"|Sorted as | ! style="width:8ch;"|Sorted as | ||
Line 30: | Line 30: | ||
{{#switch:{{#explode:{{PAGENAME}}|.|-1}} | {{#switch:{{#explode:{{PAGENAME}}|.|-1}} | ||
|ogg|wav|mp3= | |ogg|wav|mp3= | ||
{{!}}- | |||
!colspan="2"{{!}}Audio Info | |||
{{!}}- | {{!}}- | ||
!Speed | !Speed | ||
{{!}} {{{percent|}}}% | {{!}} {{{percent|}}}% | ||
{{!}}- | |||
{{#ifeq:{{{hastype|}}}|BGM| | |||
!Used in | |||
{{!}} {{#ask:[[BGM/Audio::{{FULLPAGENAME}}]] | |||
|mainlabel= | |||
|?BGM/Soundroom= | |||
|?BGM/Label= | |||
|format=plainlist | |||
|sep=<br> | |||
<!--|sort=BGM/Soundroom--> | |||
}} | |||
{{#switch:{{{forwiki}}} | {{#switch:{{{forwiki}}} | ||
|Yume 2kki|Uneven Dream|Collective Unconscious= | |Yume 2kki|Uneven Dream|Collective Unconscious= | ||
Line 45: | Line 58: | ||
|searchlabel= | |searchlabel= | ||
}}|,|?|[[:Category:?|?]][[Category:?|{{{sortkey|{{PAGENAME}}}}}]]|,\s|and}} | }}|,|?|[[:Category:?|?]][[Category:?|{{{sortkey|{{PAGENAME}}}}}]]|,\s|and}} | ||
}} | |||
}} | }} | ||
}} | }} | ||
|}</includeonly><noinclude>{{documentation}}</noinclude> | |}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 16:24, 28 July 2024
Documentation (for the above template, sometimes hidden or invisible)
Description
Showcases information of images in the File namespace and categorizes the file pages based on provided info.
Syntax
TBA
Usage
The purpose of this template is to automatically categorize image files on the wiki. This allows the category names to be changed more easily in the future, or for the structure to be made more specific or general depending on needs. Instead of changing every file page with a command, the template can be changed to use different category names. It is also built to work with Form:File.
TBA
Parameters
TBA
Sample
If you had this image:
The following input...
TBA
...would present this:
TBAVisit Template:Infobox file/doc to edit this text! (How does this work?)