(test just pagenamee) |
m (test bgm query and center image) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
{{#forminput:form=File|autocomplete on namespace=File|namespace=File}} | {{#forminput:form=File|autocomplete on namespace=File|namespace=File}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<big>'''File preview:'''</big> | |||
[[{{FULLPAGENAME}}|frameless|center]] | |||
{{#ask:[[BGM/Audio::{{FULLPAGENAME}}]] | |||
| | |outro= | ||
| | |intro=Used in:  | ||
| | |mainlabel= | ||
| | |?BGM/Soundroom= | ||
|?BGM/Label= | |||
|format=plainlist | |||
<!--|sort=BGM/Soundroom--> | |||
}} | |||
{{{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}}} | ||
{| class="formtable" | |||
|- | |||
! style="text-align:center;"| Type | |||
! style="text-align:center; width:100%;"| 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> | ||
| {{{field|sortkey|input type=text|placeholder=Defaults to filename ({{PAGENAME}})}}} | |||
Without first word: <code style="white-space: nowrap; overflow: hidden;">{{#explode:{{#explode:{{PAGENAME}}|.|0}}|<nowiki> </nowiki>|1|2}}</code> | |||
|- | |||
! Wiki/Game: | |||
| {{{field|forwiki|input type=combobox|mandatory|values from property=Is part of game}}} | |||
</ | |- | ||
! Type: | |||
| {{{field|hastype|input type=radiobutton|mandatory|values={{#switch:{{#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) | ||
|mp4|mov|ogv|mkv=Gameplay, Guide Videos, Other (Manual) | |mp4|mov|ogv|mkv=Gameplay, Guide Videos, Other (Manual) | ||
|#default=Screenshots, Maps, Annotated Maps, Panoramas, Picture Files, Character Images, Protagonist Images, Banners, Guide Images, BGM, Sounds, Gameplay, Guide Videos, Other (Manual) | |#default=Screenshots, Maps, Annotated Maps, Panoramas, Picture Files, Character Images, Protagonist Images, Banners, Guide Images, BGM, Sounds, Gameplay, Guide Videos, Other (Manual) | ||
}}}}} | }}}}} | ||
|- | |||
! Version Removed (if any): | |||
| {{{field|removed|input type=combobox|values from property=Versions updated}}} | |||
|- | |||
! Fangame Protagonists: | |||
| {{{field|fgchars|input type=checkbox|values=Multiple|label=Multiple|show on select=Multiple=>protags}}} | |||
|- id="protags" | |||
! File relates to protagonists: | |||
| {{{field|protags|input type=tokens|list|delimiter=,}}} | |||
{{#switch:{{#explode:{{PAGENAME}}|.|-1}} | |||
|ogg|wav|mp3= | |ogg|wav|mp3= | ||
{{!}}- | |||
! Speed: | |||
{{!}} {{{field|percent|input type=regexp | |||
|regexp=/^\d*$/}}} | |regexp=/^\d*$/}}} | ||
}} | }} | ||
|} | |||
{{{end template}}} | {{{end template}}} | ||
==Description== | ==Description== | ||
{{{standard input|free text}}} | {{{standard input|free text}}} | ||
{{{standard input|summary|label=Form changes summary:}}} | |||
{{{standard input|minor edit}}} {{{standard input|watch}}} | |||
{{{standard input|save}}} {{{standard input|changes}}} {{{standard input|cancel}}} | |||
</includeonly> | </includeonly> |
Revision as of 16:17, 28 July 2024
This is the "File" form. It should be used to edit pages in the File namespace.