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



YumeWiki
3,105Articles

Form:File: Difference between revisions

(First pass)
 
(add more nbsp for author)
 
(37 intermediate revisions by the same user not shown)
Line 3: Line 3:
It should be used to edit pages in the File namespace.
It should be used to edit pages in the File namespace.


{{#forminput:form=File|autocomplete on namespace=File}}
{{#forminput:form=File|autocomplete on namespace=File|namespace=File}}


</noinclude><includeonly>
</noinclude><includeonly>__NOEDITSECTION__ __NOTOC__
<div id="wikiPreview" title="test" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
===File preview===
{{{for template|Infobox image}}}
 
{{{field|filecat|input type=radiobutton|values=Images, Audio, Videos|default={{#switch:png
[[{{FULLPAGENAME}}|frameless|center]]
|png|jpg|jpeg|gif=Images{{!}}hidden
 
|ogg|wav|mp3=Audio{{!}}hidden
{{#ask:[[BGM/Audio::{{FULLPAGENAME}}]]
|mp4|mov|ogv|mkv=Videos{{!}}hidden
|outro=
|#default=Images{{!}}mandatory}}|show on select=Images=>images;Audio=>audio;Videos=>videos}}}
|intro=Used in:<br>
<table class="formtable">
|mainlabel=title
<tr>
|?BGM/Soundroom=soundroom
<th style="text-align:center;"> Type </th>
|?BGM/Label=label
<th style="text-align:center; width:100%;"> Input </th>
|?BGM/Speed=speed
</tr><tr>
|format=template
<th> Raw Name: </th>
|template=BGMDisplay
<td> {{{field|sortkey|input type=text|mandatory|default={{#explode:{{#explode:{{PAGENAMEE}}|_|1|2}}|.|0}}}}} </td>
|named args=1
</tr><tr>
<!--|sort=BGM/Soundroom-->
<th> Wiki/Game: </th>
}}<div class="mw-collapsible mw-collapsed">
<td> {{{field|forwiki|input type=combobox|mandatory}}} </td>
===All Links===
</tr><tr>
<div class="mw-collapsible-content">
<th> Type: </th>
{{Special:WhatLinksHere/{{FULLPAGENAME}}}}
<td> {{{field|hastype|input type=radiobutton|mandatory|values={{#switch:{{#explode:{{PAGENAMEE}}|.|-1}}
</div></div>
----
 
{{{info|create title=<page name>|edit title=<page name>}}}
{{{for template|Infobox file}}}
{| class="formtable"
|-
! style="text-align:center;"| Type
! style="text-align:center; width:100vw;"| Input
|-
! {{#switch:{{lc:{{#explode:{{PAGENAME}}|.|-1}} }}
|ogg|wav|mp3=<span tabindex="0" title="The official title of the BGM, usually as it appears in the files. If this audio isn't BGM, put any name to sort by.">BGM Title:&nbsp;<span class="explain">(?)</span></span>
|#default=<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:&nbsp;<span class="explain">(?)</span></span>
}}
| {{{field|sortkey|input type=text|placeholder=Defaults to filename}}}
Without first word: <code style="white-space: nowrap; overflow: hidden;">{{#explode:{{PAGENAME}}|<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=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)
|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)
}}}}} </td>
}}}}}
</tr><tr>
|-
<th> Version Removed: </th>
! Version Removed (if&nbsp;any):
<td> {{{field|removed|input type=combobox|values from property=Versions updated}}} </td>
| {{{field|removed|input type=combobox|values from property=Versions updated}}}
</tr><tr>
|-
<th> Fangame Protagonists: </th>
! Fangame Protagonists:
<td> {{{field|fgchars|input type=checkbox|values=Multiple|show on select=Multiple=>protags}}} </td>
| {{{field|fgchars|input type=checkbox|values=Multiple|label=Multiple|show on select=Multiple=>protags}}}
</tr><div id="protags"><tr>
|- id="protags"
<th> File relates to protagonists: </th>
! File relates to protagonists:
<td> {{{field|protags|input type=tokens|list|delimiter=,}}} </td>
| {{{field|protags|input type=tokens|list|delimiter=,}}}
</tr></div><div id="audio"><tr>
{{#switch:{{lc:{{#explode:{{PAGENAME}}|.|-1}}}}
<th> Speed: </th>
|ogg|wav|mp3=
<td> {{{field|percent|input type=regexp
{{!}}-
|regexp=/^\d*$/}}} </td>
! Speed:
</tr></div>
{{!}} {{{field|percent|input type=regexp|regexp=/^\d*$/}}}
</table>
{{!}}-
! <span tabindex="0" title="For collaborative games, specify the author of BGM.">Author:&nbsp;&nbsp;&nbsp;&nbsp;<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|class=mw-editfont-monospace|rows=12}}}
 
{{{standard input|summary|label=Form changes summary:}}}
 
{{{standard input|watch}}}


{{{standard input|save}}} {{{standard input|changes}}} {{{standard input|cancel}}}
</includeonly>
</includeonly>

Latest revision as of 21:59, 5 October 2024

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