Difference between revisions of "Template:Infobox record label/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Komusou
(safer, now will work in sandbox and live both)
imported>JalenFolf
(For testcases)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}
+
{{Infobox
}}
+
| bodyclass  = vcard
</noinclude>{| class="infobox" style="font-size:90%;text-align:left;width:24em;"
+
| abovestyle = background-color: {{{bgcolor|LightBlue}}}
|- style="background:{{{bgcolor|LightBlue}}};"
+
| aboveclass = fn org
! colspan="2" style="font-size:larger;text-align:center;" | {{{name|{{PAGENAME}}}}}
+
| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
|-
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{image_name|}}}}}}|size={{{image_size|}}}|sizedefault=180px|alt={{{image_alt|}}}}}
{{#if:{{{image|<noinclude>*</noinclude>}}}|
+
| caption    = {{{caption|{{{image_caption|}}}}}}
! colspan="2" style="text-align:center;background:{{{image_bg|white}}};padding:1ex;" {{!}} {{{image}}}
+
 
}}
+
| label1    = Parent company
|-
+
| data1      = {{{parent|}}}
{{#if:{{{parent|<noinclude>*</noinclude>}}}|
+
| label2    = Founded
! <SPAN STYLE="white-space:nowrap;">Parent company</SPAN>
+
| data2      = {{{founded|}}}
{{!}} {{{parent}}}
+
| label4    = Defunct
}}
+
| data4      = {{{defunct|}}}
|-
+
| label3    = Founder<!--SINGULAR AS INFOBOX ALBUM ETC.-->
{{#if:{{{founded|<noinclude>*</noinclude>}}}|
+
| class3    = agent
! Founded
+
| data3      = {{{founder|}}}
{{!}} {{{founded}}}
+
| label5    = Status
}}
+
| data5      = {{{status|}}}
|-
+
| label6    = Distributor(s)
{{#if:{{{founder|<noinclude>*</noinclude>}}}|
+
| data6      = {{{distributor|}}}
! Founder<!--SINGULAR AS INFOBOX ALBUM ETC.-->
+
| label7    = Genre<!--SINGULAR AS INFOBOX ALBUM ETC.-->
{{!}} {{{founder}}}
+
| class7    = category
}}
+
| data7      = {{{genre|}}}
|-
+
| label8    = Country of origin
{{#if:{{{status|<noinclude>*</noinclude>}}}|
+
| data8      = {{{country|}}}
! Status
+
| label9    = Location
{{!}} {{{status}}}
+
| class9    = label
}}
+
| data9      = {{{location|}}}
|-
+
| label10    = Official website
{{#if:{{{distributor|<noinclude>*</noinclude>}}}|
+
| data10    = {{{website|{{{url|}}}}}}
! <SPAN STYLE="white-space:nowrap;">Distributing label</SPAN>
+
| data11    = {{{misc|{{{module|}}}}}}
{{!}} {{{distributor}}}
+
 
}}
+
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox record label with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox record label]] with unknown parameter "_VALUE_"|ignoreblank=y| bgcolor | caption | country | defunct | distributor | founded | founder | genre | image | image_alt | image_caption | image_name | image_size | location | name | parent | status | url | website | misc | module}}<noinclude>
|-
+
{{{distributor|}}}
{{#if:{{{genre|<noinclude>*</noinclude>}}}|
 
! Genre<!--SINGULAR AS INFOBOX ALBUM ETC.-->
 
{{!}} {{{genre}}}
 
}}
 
|-
 
{{#if:{{{country|<noinclude>*</noinclude>}}}|
 
! <SPAN STYLE="white-space:nowrap;">Country of origin</SPAN>
 
{{!}} {{{country}}}
 
}}
 
|-
 
{{#if:{{{location|<noinclude>*</noinclude>}}}|
 
! Location
 
{{!}} {{{location}}}
 
}}
 
|-
 
{{#if:{{{url|<noinclude>*</noinclude>}}}|
 
! <SPAN STYLE="white-space:nowrap;">Official website</SPAN>
 
{{!}} {{{url}}}
 
}}
 
|-
 
|}<noinclude>
 
<!--
 
    PLEASE DO NOT ADD DOCUMENTATION/CATEGORIES/INTERWIKIS HERE
 
-->
 
{{pp-semi-protected| small=yes | reason=No need for such template to be anon-editable. }}
 
{{#ifeq:{{SUBPAGENAME}}|sandbox|<!--NIL-->|{{Template doc}} }}
 
<!--
 
    MAKE ADDITIONS TO THE /doc SUBPAGE INSTEAD, THANKS
 
-->
 
 
</noinclude>
 
</noinclude>

Latest revision as of 03:43, 14 September 2017