(width change, add % to speed) |
(add Used in for BGM) |
||
(2 intermediate revisions by the same user not shown) | |||
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;"| | ! style="width:8ch;"|Sorted as | ||
|{{{sortkey|{{PAGENAME}}}}} | |{{{sortkey|{{PAGENAME}}}}} | ||
|- | |- | ||
Line 16: | Line 16: | ||
{{#ifeq: {{{hastype|}}} | Other (Manual) ||[[Category:{{{forwiki}}} {{{hastype}}}|{{{sortkey|{{PAGENAME}}}}}]] | {{#ifeq: {{{hastype|}}} | Other (Manual) ||[[Category:{{{forwiki}}} {{{hastype}}}|{{{sortkey|{{PAGENAME}}}}}]] | ||
{{#arraymap:{{{protags|}}}|,|?|[[Category:? {{{hastype}}}|{{{sortkey|{{PAGENAME}}}}}]]|}} | {{#arraymap:{{{protags|}}}|,|?|[[Category:? {{{hastype}}}|{{{sortkey|{{PAGENAME}}}}}]]|}} | ||
}} | |||
{{#ifeq: {{{hastype|}}} | Annotated Maps | [[Category:{{{forwiki}}} Maps|{{{sortkey|{{PAGENAME}}}}}]] | |||
}} | }} | ||
|[[:Category:{{{hastype}}}|{{{hastype}}}]] | |[[:Category:{{{hastype}}}|{{{hastype}}}]] | ||
{{#ifeq: {{{hastype|}}} | Other (Manual) ||[[Category:{{{hastype}}}|{{{sortkey|{{PAGENAME}}}}}]] | {{#ifeq: {{{hastype|}}} | Other (Manual) ||[[Category:{{{hastype}}}|{{{sortkey|{{PAGENAME}}}}}]] | ||
}} | |||
{{#ifeq: {{{hastype|}}} | Annotated Maps | [[Category:Maps|{{{sortkey|{{PAGENAME}}}}}]] | |||
}} | }} | ||
}} | }} | ||
Line 26: | 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 43: | Line 60: | ||
}} | }} | ||
}} | }} | ||
|}<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?)