m (tweak sortkey placeholder text) |
m (test different value for table width) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 33: | Line 33: | ||
|- | |- | ||
! style="text-align:center;"| Type | ! style="text-align:center;"| Type | ||
! style="text-align:center; width: | ! style="text-align:center; width:100vw;"| Input | ||
|- | |- | ||
! <span tabindex="0" title="This is the filename without any prefix such as game name, e.g. YN_Nexus.png → Nexus.png, so it sorts as Nexus.png within the Yume Nikki category">Sort Name:<span class="explain"> (?)</span></span> | ! <span tabindex="0" title="This is the filename without any prefix such as game name, e.g. YN_Nexus.png → Nexus.png, so it sorts as Nexus.png within the Yume Nikki category">Sort Name:<span class="explain"> (?)</span></span> | ||
| {{{field|sortkey|input type=text|placeholder=Defaults to filename}}} | | {{{field|sortkey|input type=text|placeholder=Defaults to filename}}} | ||
Without first word: <code style="white-space: nowrap; overflow: hidden;"> | Without first word: <code style="white-space: nowrap; overflow: hidden;">{{#explode:{{PAGENAME}}|<nowiki> </nowiki>|1|2}}</code> | ||
|- | |- | ||
! Wiki/Game: | ! Wiki/Game: | ||
Line 43: | Line 43: | ||
|- | |- | ||
! Type: | ! Type: | ||
| {{{field|hastype|input type=checkboxes|hide select all|mandatory|values={{#switch:{{#explode:{{PAGENAME}}|.|-1}} | | {{{field|hastype|input type=checkboxes|hide select all|mandatory|values={{#switch:{{lc:{{#explode:{{PAGENAME}}|.|-1}} }} | ||
|png|jpg|jpeg|gif=Screenshots, Maps, Annotated Maps, Panoramas, Picture Files, Character Images, Protagonist Images, Banners, Guide Images, Other (Manual) | |png|jpg|jpeg|gif=Screenshots, Maps, Annotated Maps, Panoramas, Picture Files, Character Images, Protagonist Images, Banners, Guide Images, Other (Manual) | ||
|ogg|wav|mp3=BGM, Sounds, Other (Manual) | |ogg|wav|mp3=BGM, Sounds, Other (Manual) | ||
Line 58: | Line 58: | ||
! File relates to protagonists: | ! File relates to protagonists: | ||
| {{{field|protags|input type=tokens|list|delimiter=,}}} | | {{{field|protags|input type=tokens|list|delimiter=,}}} | ||
{{#switch:{{#explode:{{PAGENAME}}|.|-1}} | {{#switch:{{lc:{{#explode:{{PAGENAME}}|.|-1}}}} | ||
|ogg|wav|mp3= | |ogg|wav|mp3= | ||
{{!}}- | {{!}}- |
Latest revision as of 14:38, 10 August 2024
This is the "File" form. It should be used to edit pages in the File namespace.