Template:Listen: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
(removing image)
No edit summary
 
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{|style="width:30%; border:1px #A9A9A9 solid; -moz-border-radius:7px; wrap; float:right; font-size:90%"
{|class="listen-template" style="float:right;text-align:center;border:1px solid #A9A9A9;border-radius:10px;margin:0 0 0.5em 1em" width="300px"
|-class="{{#if:{{{image|}}}||hiddenStructure}}"
|align="center" colspan="2"|{{{image}}}
|- align="center"
|colspan="2" style="border:1px black solid; -moz-border-radius:3.5px;"|'''''{{{songname}}}'''''
|-
|-
|align="center" width="40px"|
|align="center"|{{{image|}}}
|[[Image:{{{filename}}}]]
|-
|- align="center"
!style="border:1px black solid; border-radius:3.5px;"|''{{#if:{{{type|}}}|{{{type}}} - [[{{{songname|}}}]]|{{{songname}}}}}''
| colspan="2"|
|-
|}<noinclude>
|[[File:{{{filename|}}}|300px|center]]
{{-}}
|}<templatestyles src="Listen/styles.css"/><noinclude>{{-}}
==Usage==
==Usage==
{| style="float: bottom; "
|
<pre>
<pre>
{{Listen
{{Listen
|filename=
|filename=
|songname=
|songname=
|type=
|image=
|image=
|}}
}}
</pre>
</pre>
|}
 
[[Category: Navigation templates|{{PAGENAME}}]]
* '''filename''' - Excluding "File:", including extension.
* '''songname''' - The song name. If ''type'' is used, it will link to the song article.
* '''type''' - e.g. "Field theme". Optional.
* '''image''' - Including "File:" and extension. Optional.
 
[[Category:Media templates]]</noinclude>

Latest revision as of 16:56, 26 December 2024

{{{songname}}}
[[File:|300px|center]]

Usage

{{Listen
|filename=
|songname=
|type=
|image=
}}
  • filename - Excluding "File:", including extension.
  • songname - The song name. If type is used, it will link to the song article.
  • type - e.g. "Field theme". Optional.
  • image - Including "File:" and extension. Optional.