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



YumeWiki
2,844Articles

Form:File: Difference between revisions

(make image frameless)
m (test bgm query and center image)
 
(5 intermediate revisions by the same user not shown)
Line 8: Line 8:
<big>'''File preview:'''</big>
<big>'''File preview:'''</big>


[[{{FULLPAGENAME}}|frameless]]
[[{{FULLPAGENAME}}|frameless|center]]
 
{{#ask:[[BGM/Audio::{{FULLPAGENAME}}]]
|outro=
|intro=Used in:&#32;
|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}}}
<table class="formtable">
{| class="formtable"
<tr>
|-
<th style="text-align:center;"> Type </th>
! style="text-align:center;"| Type
<th style="text-align:center; width:100%;"> Input </th>
! style="text-align:center; width:100%;"| Input
</tr><tr>
|-
<th> Raw Name: </th>
! <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>
<td> {{{field|sortkey|input type=text|mandatory}}}
| {{{field|sortkey|input type=text|placeholder=Defaults to filename ({{PAGENAME}})}}}
<br>Without file extension: <code>{{#explode:{{PAGENAME}}|.|0}}</code></td>
Without first word: <code style="white-space: nowrap; overflow: hidden;">{{#explode:{{#explode:{{PAGENAME}}|.|0}}|<nowiki> </nowiki>|1|2}}</code>
</tr><tr>
|-
<th> Wiki/Game: </th>
! Wiki/Game:
<td> {{{field|forwiki|input type=combobox|mandatory|values from property=Is part of game}}} </td>
| {{{field|forwiki|input type=combobox|mandatory|values from property=Is part of game}}}
</tr><tr>
|-
<th> Type: </th>
! Type:
<td> {{{field|hastype|input type=radiobutton|mandatory|values={{#switch:{{#explode:{{PAGENAME}}|.|-1}}
| {{{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)
}}}}} </td>
}}}}}
</tr><tr>
|-
<th> Version Removed (if any): </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|label=Multiple|show on select=Multiple=>protags}}} </td>
| {{{field|fgchars|input type=checkbox|values=Multiple|label=Multiple|show on select=Multiple=>protags}}}
</tr><tr id="protags">
|- 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>{{#switch:{{#explode:{{PAGENAME}}|.|-1}}
{{#switch:{{#explode:{{PAGENAME}}|.|-1}}
|ogg|wav|mp3=
|ogg|wav|mp3=
<tr>
{{!}}-
<th> Speed: </th>
! Speed:
<td> {{{field|percent|input type=regexp
{{!}} {{{field|percent|input type=regexp
|regexp=/^\d*$/}}} </td>
|regexp=/^\d*$/}}}
</tr>
}}
}}
</table>
|}
{{{end template}}}
{{{end template}}}
==Description==
==Description==

Latest revision as of 16:17, 28 July 2024

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