Jump to content

Template:Infobox International Labour Organization convention: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
doc
create /doc page
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Infobox
{| class="infobox" style="width: 25em; text-align: left; font-size: 90%; " cellspacing="2"
| title = {{{name|}}}
|+ style="font-size: 1.25em;" | '''[[International Labour Organization#International Labour Conference|ILO Convention]]'''
|-
| colspan="2" style="text-align: center;" | '''{{{code|}}}'''
|-
| colspan="2" style="text-align: center;" | {{{name|}}}
|-
! style="width: 50%;" | Date of adoption
| {{{adopt|}}}
|-
! Date in force
| {{{force|}}}
{{#if:{{{shelved|}}}|<tr><td colspan="2" style="text-align: center;">'''This Convention has been "shelved"'''</td></tr>}}
|-
! Classification
| {{{classify|}}}
|-
! Subject
| {{{subject|}}}
|- style="text-align: left; background-color: lightgrey;"
! Previous
! Next
|- style="text-align: center; background-color: lightgrey;"
| {{{prev|}}}
| {{{next|}}}
|}<noinclude>{{doc|content=


| above = {{{code|}}}
&#123;&#123;[[Template:Infobox ILO convention|Infobox ILO convention]]&#125;&#125;&#32;&mdash; An infobox for use with [[:Category:International Labour Organization Conventions|International Labour Organization Conventions]]. There are currently 185 conventions.


| subheader = [[International Labour Organization#International Labour Conference|ILO Convention]]
== Usage ==
| subheaderstyle = font-weight: bold;


| label1 = Date of adoption
===Required fields===
| data1 = {{{adopt|}}}
<pre>
| label2 = Date in force
{{infobox ILO convention
|code= (ILO naming code - eg. C104)
| data2 = {{{force|}}}
| data3 = {{#if:{{{shelved|}}}|This Convention has been "shelved".}}
|name= (full name of convention)
| rowclass3 = font-weight: bold;
|adopt= (date convention adopted)
| label4 = Classification
|force= (date convention brought in force)
| data4 = {{{classify|}}}
|classify= (ILO classification)
|subject= (ILO subject)
| label5 = Subject
| data5 = {{{subject|}}}
|prev= (previous convention article name)
|next= (next convention article name)
}}
</pre>


| label6 = Previous
===Optional fields===
| data6 = {{{prev|}}}
<pre>
| label7 = Next
|shelved= (boolean - any text in the field produces a standard text message.)
| data7 = {{{next|}}}
</pre>
}}<noinclude>

{{Documentation}}
===Empty syntax===
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
<pre>
</noinclude>
{{Infobox ILO convention
|code=
|name=
|adopt=
|force=
|classify=
|subject=
|prev=
|next=
|shelved=
}}

</pre>

== Example ==
{| style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse;"
!style="border: 1px #aaaaaa solid; padding: 0.2em;background: #f2f2f2; text-align: center;"| Code
!style="border: 1px #aaaaaa solid; padding: 0.2em;background: #f2f2f2; text-align: center;"| Result
|- style="vertical-align:top;"
|style="border: 1px #aaaaaa solid; padding: 0.2em;"| <pre>
{{Infobox ILO convention
|code= C104
|name= Abolition of Penal Sanctions (Indigenous Workers) Convention, 1955
|adopt= [[July 1]], [[1949]]
|force= [[July 18]], [[1951]]
|classify= Indigenous and Tribal Peoples
|subject= Indigenous and Tribal Peoples
|prev= [[C103 Maternity Protection Convention (Revised), 1952]]
|next= [[C105 Abolition of Forced Labour Convention, 1957]]
|shelved= yes
}}

</pre>
|style="border: 1px #aaaaaa solid; padding: 0.2em;"|{{Infobox ILO convention
|code= C104
|name= Abolition of Penal Sanctions (Indigenous Workers) Convention, 1955
|adopt= [[July 1]], [[1949]]
|force= [[July 18]], [[1951]]
|classify= Indigenous and Tribal Peoples
|subject= Indigenous and Tribal Peoples
|prev= [[C103 Maternity Protection Convention (Revised), 1952]]
|next= [[C105 Abolition of Forced Labour Convention, 1957]]
|shelved= yes
}}
|}

[[Category:Politics and government infobox templates|ILO Convention]]

}}</noinclude>

Latest revision as of 22:42, 4 October 2020

ILO Convention