1,070
edits
Changes
Jump to navigation
Jump to search
Created page with "<!-- First, is this a key (to go in the header template) or just a standalone icon? If this is the key... -->{{#if:{{{key|}}}|{{#if:{{{nobreak|}}}||<br />}}<!-- Initital l..."
<!--
First, is this a key (to go in the header template) or just a standalone icon?
If this is the key...
-->{{#if:{{{key|}}}|{{#if:{{{nobreak|}}}||<br />}}<!--
Initital line break included by default (this can be deactivated by setting "nobreak" to yes)
-->''{{#switch:{{NAMESPACE}}
|Wikisource
|Author=The icon
|{{#switch:{{{type|}}}<!-- This code includes automatic categories in the Wikisource and Author namespaces unless "Category" is used -->
|note
|song
|music = {{{category|[[Category:Spoken works]]}}}
|film
|video = {{{category|[[Category:Works with videos]]}}}
|audio
|spoken
|speaker
|#default = {{{category|[[Category:Spoken works]]}}}
}}
}}[[File:{{#switch:{{{type|}}}<!-- This code selects the appropriate icon for the key -->
|note
|song
|music = Musical note nicu bucule 01.svg
|film
|video = Film icon.svg
|audio
|spoken
|speaker
|#default = Speaker Icon.svg
}}|20px]] {{#switch:{{NAMESPACE}}<!-- The wording will vary depending on the namespace -->
|Wikisource
|Author=identifies that the work includes a {{#switch:{{{type|}}}<!-- This code explains the specific icon -->
|note
|song
|music = musical
|film
|video = video
|audio
|spoken
|speaker
|#default = spoken word
}} version
|one or more {{{parts|chapters}}} are available in a {{#switch:{{{type|}}}<!-- Again, this explains the icon -->
|note
|song
|music = musical
|film
|video = video
|audio
|spoken
|speaker
|#default = spoken word
}} format
}}.''<!--
Else, if this is just the icon, then...
-->|{{#if:{{{multi|}}}<!--
Second, is this a single icon or multiple icons?
If multiple icons should be displayed...
-->|{{#if: {{{audio|}}}<!-- Code for displaying the audio (Speaker) icon -->
|[[File:Speaker Icon.svg|{{#switch:{{NAMESPACE}}<!-- The default icon size depends on the namespace -->
|Author={{{1|20}}}
|Template={{{1|20}}}
|Portal={{{1|20}}}
|#default={{{1|15}}}
}}px]]}}{{#if: {{{music|}}}<!-- Code for displaying the music (Musical Note) icon -->
|[[File:Musical note nicu bucule 01.svg|{{#switch:{{NAMESPACE}}<!-- The default icon size depends on the namespace -->
|Author={{{1|20}}}
|Template={{{1|20}}}
|Portal={{{1|20}}}
|#default={{{1|15}}}
}}px]]}}{{#if: {{{video|}}}<!-- Code for displaying the video (Film Cell) icon -->
|[[File:Film icon.svg|{{#switch:{{NAMESPACE}}<!-- The default icon size depends on the namespace -->
|Author={{{1|20}}}
|Template={{{1|20}}}
|Portal={{{1|20}}}
|#default={{{1|15}}}
}}px]]}}
|<!--
Else, if only a single icon should be displayed...
-->[[File:{{#switch: {{{type|}}}<!-- This code selects the single icon based on the keyword used for type -->
|note
|song
|music = Musical note nicu bucule 01.svg
|film
|video = Film icon.svg
|audio
|spoken
|speaker
|#default = Speaker Icon.svg
}}|{{#switch:{{NAMESPACE}}<!-- The default icon size depends on the namespace -->
|Author={{{1|20}}}
|Template={{{1|20}}}
|Portal={{{1|20}}}
|#default={{{1|15}}}
}}px]]
}}<!-- End of the 2nd IF statement - Is this a single icon or multiple icons? -->
}}<!-- End of the 1st IF statement - Is this the key or just an icon?
--><noinclude>
{{documentation}}
</noinclude>
First, is this a key (to go in the header template) or just a standalone icon?
If this is the key...
-->{{#if:{{{key|}}}|{{#if:{{{nobreak|}}}||<br />}}<!--
Initital line break included by default (this can be deactivated by setting "nobreak" to yes)
-->''{{#switch:{{NAMESPACE}}
|Wikisource
|Author=The icon
|{{#switch:{{{type|}}}<!-- This code includes automatic categories in the Wikisource and Author namespaces unless "Category" is used -->
|note
|song
|music = {{{category|[[Category:Spoken works]]}}}
|film
|video = {{{category|[[Category:Works with videos]]}}}
|audio
|spoken
|speaker
|#default = {{{category|[[Category:Spoken works]]}}}
}}
}}[[File:{{#switch:{{{type|}}}<!-- This code selects the appropriate icon for the key -->
|note
|song
|music = Musical note nicu bucule 01.svg
|film
|video = Film icon.svg
|audio
|spoken
|speaker
|#default = Speaker Icon.svg
}}|20px]] {{#switch:{{NAMESPACE}}<!-- The wording will vary depending on the namespace -->
|Wikisource
|Author=identifies that the work includes a {{#switch:{{{type|}}}<!-- This code explains the specific icon -->
|note
|song
|music = musical
|film
|video = video
|audio
|spoken
|speaker
|#default = spoken word
}} version
|one or more {{{parts|chapters}}} are available in a {{#switch:{{{type|}}}<!-- Again, this explains the icon -->
|note
|song
|music = musical
|film
|video = video
|audio
|spoken
|speaker
|#default = spoken word
}} format
}}.''<!--
Else, if this is just the icon, then...
-->|{{#if:{{{multi|}}}<!--
Second, is this a single icon or multiple icons?
If multiple icons should be displayed...
-->|{{#if: {{{audio|}}}<!-- Code for displaying the audio (Speaker) icon -->
|[[File:Speaker Icon.svg|{{#switch:{{NAMESPACE}}<!-- The default icon size depends on the namespace -->
|Author={{{1|20}}}
|Template={{{1|20}}}
|Portal={{{1|20}}}
|#default={{{1|15}}}
}}px]]}}{{#if: {{{music|}}}<!-- Code for displaying the music (Musical Note) icon -->
|[[File:Musical note nicu bucule 01.svg|{{#switch:{{NAMESPACE}}<!-- The default icon size depends on the namespace -->
|Author={{{1|20}}}
|Template={{{1|20}}}
|Portal={{{1|20}}}
|#default={{{1|15}}}
}}px]]}}{{#if: {{{video|}}}<!-- Code for displaying the video (Film Cell) icon -->
|[[File:Film icon.svg|{{#switch:{{NAMESPACE}}<!-- The default icon size depends on the namespace -->
|Author={{{1|20}}}
|Template={{{1|20}}}
|Portal={{{1|20}}}
|#default={{{1|15}}}
}}px]]}}
|<!--
Else, if only a single icon should be displayed...
-->[[File:{{#switch: {{{type|}}}<!-- This code selects the single icon based on the keyword used for type -->
|note
|song
|music = Musical note nicu bucule 01.svg
|film
|video = Film icon.svg
|audio
|spoken
|speaker
|#default = Speaker Icon.svg
}}|{{#switch:{{NAMESPACE}}<!-- The default icon size depends on the namespace -->
|Author={{{1|20}}}
|Template={{{1|20}}}
|Portal={{{1|20}}}
|#default={{{1|15}}}
}}px]]
}}<!-- End of the 2nd IF statement - Is this a single icon or multiple icons? -->
}}<!-- End of the 1st IF statement - Is this the key or just an icon?
--><noinclude>
{{documentation}}
</noinclude>