Template:Library infobox work: Difference between revisions

Template page
No edit summary
(Undo revision 4779 by FelipeForte (talk))
Tag: Undo
Line 1: Line 1:
{{Infobox
{{Infobox
| bodyclass = vcard
| bodyclass = vcard
| abovestyle = padding-top:0; padding-bottom:0;
| above = <div style="padding-top:0.3em; padding-bottom:0.3em; {{#if:{{{colorcode|}}}|border-top:2px solid {{{colorcode}}}; border-bottom:2px solid {{{colorcode}}};}} line-height: 1;">{{Br separated entries
| 1 = <div style="display:inline;" class="fn org">{{if empty|{{{title|}}}|{{PAGENAMEBASE}}}}</div>
| 2 = {{#if:{{{native_name|}}} |<div style="display:inline;" class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}} style="font-size: 0.8em;">{{{native_name}}}</div>}}
}}</div>


| subheader = {{{_subheader|}}}
| subheader = {{{_subheader|}}}
Line 6: Line 12:
| imageclass = logo
| imageclass = logo
| imagestyle = padding-top:.4em;padding-bottom:.3em;
| imagestyle = padding-top:.4em;padding-bottom:.3em;
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|upright={{{logo_upright|0.8}}}|alt={{{logo_alt|}}}|size={{{logo_size|}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|upright={{{image_upright|0.8}}}|alt={{{image_alt|}}}|size={{{image_size|}}}}}
| caption = {{{caption|}}}
| caption = {{{caption|}}}


Line 13: Line 19:
| datastyle = line-height:1.3em;
| datastyle = line-height:1.3em;


| label1  = {{{lang1}}} name
| label1  = Author
| class1  = nickname
|  data1  = {{{author|}}}
|  data1  = {{{name_lang1|}}}


| label2  = {{{lang2}}} name
| label2  = Type
| class2  = nickname
|  data2  = {{{type|}}}
|  data2  = {{{name_lang2|}}}


| label3  = {{{lang3}}} name
| label3  = First published
| class3  = nickname
|  data3  = {{{published|}}}
|  data3  = {{{name_lang3|}}}


| label4  = {{{lang4}}} name
| label4  = {{{lang4}}} name
Line 300: Line 303:
       -->{{#if:{{{footnotes|}}} |<hr/>{{{footnotes}}} }}
       -->{{#if:{{{footnotes|}}} |<hr/>{{{footnotes}}} }}


}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox political party with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox political party]] with unknown parameter "_VALUE_"|ignoreblank=y| _subheader | abbr | abbreviation | affiliation1 | affiliation1_title | affiliation2 | affiliation2_title | anthem | banned | blank1 | blank1_title | blank2 | blank2_title | blank3 | blank3_title | blank4 | blank4_title | caption | chairman | chairperson | colorcode | colors | colours | continental | continental affiliation | country | country_dab1 | country_dab2 | country2 | dissolution | dissolved | elections_dab1 | elections_dab2 | europarl | european | first_secretary | flag | flag_alt | flag_title | footnotes | foundation | founded | founder | founders | general_secretary | headquarters | political_line | international | lang1 | lang2 | lang3 | lang4 | leader | leader1_name | leader1_title | leader2_name | leader2_title | leader3_name | leader3_title | leader4_name | leader4_title | leader5_name | leader5_title | legalised | legalized | logo | logo_alt | logo_size | logo_upright | membership | membership_year | merged | merger | name | name_lang1 | name_lang2 | name_lang3 | name_lang4 | national | native_name | native_name_lang | newspaper | parties_dab1 | parties_dab2 | position | predecessor | president | presidium | regional | regional affiliation | registered | religion | seats1 | seats1_title | seats10 | seats10_title | seats11 | seats11_title | seats2 | seats2_title | seats3 | seats3_title | seats4 | seats4_title | seats5 | seats5_title | seats6 | seats6_title | seats7 | seats7_title | seats8 | seats8_title | seats9 | seats9_title | secretary | secretary_general | slogan | split | spokesman | spokesperson | standing_committee | state | student_wing | successor | symbol | think tank | think_tank | website | wing1 | wing1_title | wing2 | wing2_title | wing3 | wing3_title | wing4 | wing4_title | womens_wing | youth_wing
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using library work with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Library work]] with unknown parameter "_VALUE_"|ignoreblank=y| _subheader | author | published | title | type
}}
}}
<noinclude>
<noinclude>
Line 306: Line 309:
  <nowiki>
  <nowiki>
{{Library work
{{Library work
| name =  
| title =  
| native_name =  
| author =  
| native_name_lang =
| type =
| lang1 =  
| published =  
| name_lang1 =  
| name_lang1 =  
| lang2 =  
| lang2 =  
Line 317: Line 320:
| lang4 =  
| lang4 =  
| name_lang4 =  
| name_lang4 =  
| logo =
| image =
| logo_size =
| image_size =
| logo_upright =
| image_upright =
| logo_alt =
| image_alt =
| caption =
| caption =
| colorcode =        <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
| colorcode =        <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->

Revision as of 23:30, 22 December 2020

Library infobox work

How to use this template:

{{Library work
| title = 
| author = 
| type =
| published = 
| name_lang1 = 
| lang2 = 
| name_lang2 = 
| lang3 = 
| name_lang3 = 
| lang4 = 
| name_lang4 = 
| image =
| image_size =
| image_upright =
| image_alt =
| caption =
| colorcode =         <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
| abbreviation =      <!-- official abbreviation or | abbr = -->
| leader = 
| president = 
| chairperson =       <!-- or | chairman = -->
| general_secretary =
| first_secretary =
| secretary_general = 
| presidium =
| standing_committee =
| secretary =
| spokesperson =      <!-- or | spokesman = -->
| leader1_title = 
| leader1_name = 
| leader2_title = 
| leader2_name = 
| leader3_title = 
| leader3_name = 
| leader4_title = 
| leader4_name = 
| leader5_title = 
| leader5_name = 
| founder =           <!-- or | founders = -->
| founded =           <!-- or | foundation = use {{start date|YYYY|MM|DD}} -->
| registered = 
| legalised =         <!-- or | legalized = -->
| dissolved =         <!-- or | banned = or | dissolution = use {{end date|YYYY|MM|DD}} -->
| merger = 
| split = 
| predecessor = 
| merged = 
| successor = 
| headquarters = 
| newspaper = 
| think_tank = 
| student_wing = 
| youth_wing = 
| womens_wing = 
| wing1_title = 
| wing1 = 
| wing2_title = 
| wing2 = 
| wing3_title = 
| wing3 = 
| wing4_title = 
| wing4 = 
| membership_year = 
| membership = 
| political_line = 
| position =
| religion = 
| national = 
| regional =          <!-- or | regional affiliation = -->
| european = 
| continental =       <!-- or | continental affiliation = -->
| international = 
| europarl = 
| affiliation1_title = 
| affiliation1 = 
| affiliation2_title =
| affiliation2 =
| colors =            <!-- or | colours = -->
| slogan = 
| anthem = 
| blank1_title = 
| blank1 = 
| blank2_title = 
| blank2 = 
| blank3_title = 
| blank3 = 
| blank4_title = 
| blank4 = 
| seats1_title = 
| seats1 =            <!-- {{Infobox political party/seats|50|100|hex=#ff0000}} -->
| seats2_title = 
| seats2 = 
| seats3_title = 
| seats3 = 
| seats4_title =      <!-- up to | seats11_title = -->
| seats4 =            <!-- up to | seats11 = -->
| symbol = 
| flag = 
| flag_title =
| flag_alt =
| website = 
| state =             <!-- or | country = -->
| country =           <!-- or | state = -->
| country_dab1 = 
| parties_dab1 = 
| elections_dab1 = 
| country2 = 
| country_dab2 = 
| parties_dab2 = 
| elections_dab2 = 
| footnotes = 
}}