×
Create a new article
Write your page title here:
We currently have 3,101 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,101Articles

Form:File: Difference between revisions

m (test bgm query and center image)
m (test different value for table width)
(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>__NOEDITSECTION__ __NOTOC__
<big>'''File preview:'''</big>
===File preview===


[[{{FULLPAGENAME}}|frameless|center]]
[[{{FULLPAGENAME}}|frameless|center]]
Line 12: Line 12:
{{#ask:[[BGM/Audio::{{FULLPAGENAME}}]]
{{#ask:[[BGM/Audio::{{FULLPAGENAME}}]]
|outro=
|outro=
|intro=Used in:&#32;
|intro=Used in:<br>
|mainlabel=
|mainlabel=title
|?BGM/Soundroom=
|?BGM/Soundroom=soundroom
|?BGM/Label=
|?BGM/Label=label
|format=plainlist
|?BGM/Speed=speed
|format=template
|template=BGMDisplay
|named args=1
<!--|sort=BGM/Soundroom-->
<!--|sort=BGM/Soundroom-->
}}
}}<div class="mw-collapsible mw-collapsed">
===All Links===
<div class="mw-collapsible-content">
{{Special:WhatLinksHere/{{FULLPAGENAME}}}}
</div></div>
----


{{{info|create title=<page name>|edit title=<page name>}}}
{{{info|create title=<page name>|edit title=<page name>}}}
Line 25: Line 33:
|-
|-
! style="text-align:center;"| Type
! style="text-align:center;"| Type
! style="text-align:center; width:100%;"| Input
! 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 ({{PAGENAME}})}}}
| {{{field|sortkey|input type=text|placeholder=Defaults to filename}}}
Without first word: <code style="white-space: nowrap; overflow: hidden;">{{#explode:{{#explode:{{PAGENAME}}|.|0}}|<nowiki> </nowiki>|1|2}}</code>
Without first word: <code style="white-space: nowrap; overflow: hidden;">{{#explode:{{PAGENAME}}|<nowiki> </nowiki>|1|2}}</code>
|-
|-
! Wiki/Game:
! Wiki/Game:
Line 35: Line 43:
|-
|-
! Type:
! Type:
| {{{field|hastype|input type=radiobutton|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 50: 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=
{{!}}-
{{!}}-
! Speed:
! Speed:
{{!}} {{{field|percent|input type=regexp
{{!}} {{{field|percent|input type=regexp|regexp=/^\d*$/}}}
|regexp=/^\d*$/}}}
{{!}}-
! <span tabindex="0" title="For collaborative games, specify the author of BGM.">Author:<span class="explain"> (?)</span></span>
{{!}} {{{field|creator|input type=combobox|values from property=Author/Name}}}
}}
}}
|}
|}
{{{end template}}}
{{{end template}}}
==Description==
==Description==
{{{standard input|free text}}}
{{{standard input|free text|editor=wikieditor|rows=12}}}


{{{standard input|summary|label=Form changes summary:}}}
{{{standard input|summary|label=Form changes summary:}}}

Revision as of 14:38, 10 August 2024

This is the "File" form. It should be used to edit pages in the File namespace.