Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Library infobox work: Difference between revisions

Template page
(Undo revision 4779 by FelipeForte (talk))
Tag: Undo
No edit summary
Line 28: Line 28:
|  data3  = {{{published|}}}
|  data3  = {{{published|}}}


| label4  = {{{lang4}}} name
| label4  = Source
| class4  = nickname
|  data4  = {{{source|}}}
|  data4  = {{{name_lang4|}}}


| label5  = Abbreviation
| label5  = Abbreviation
Line 263: Line 262:
|  data72 = {{{symbol|}}}
|  data72 = {{{symbol|}}}


| header73 = {{#if:{{{flag|}}} |{{{flag_title|Party flag}}}}}
}}{{#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 | source | title | type  
|  data74 = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|upright=0.6|alt={{if empty|{{{flag_alt|}}}|{{{flag_title|}}}}}}}
 
| header75 = {{#if:{{{website|}}} |Website}}
|  data76 = {{{website|}}}
 
| belowstyle = padding-top:0;
| below = {{#if:{{{state|}}}{{{country|}}}
    | {{Unbulleted list |style=line-height:1.3em; padding-top:0.3em; border-top:{{#if:{{{colorcode|}}}|2|1}}px solid {{{colorcode|#aaa}}};
          | {{#if:{{{country_dab1|}}}
            | {{#ifexist: {{{country_dab1|}}} | [[{{{country_dab1}}}|Politics of {{if empty|{{{state|}}}|{{{country}}}}}]] }}
            | {{#ifexist: Politics of {{if empty|{{{state|}}}|{{{country}}}}} | [[Politics of {{if empty|{{{state|}}}|{{{country}}}}}]] }}
            }}
          | {{#if:{{{parties_dab1|}}}
            | {{#ifexist: {{{parties_dab1|}}} | [[{{{parties_dab1}}}|Political parties]] }}
            | {{#ifexist: List of political parties in {{if empty|{{{state|}}}|{{{country}}}}} | [[List of political parties in {{if empty|{{{state|}}}|{{{country}}}}}|Political parties]] }}
            }}
          | {{#if:{{{elections_dab1|}}}
            | {{#ifexist: {{{elections_dab1}}} | [[{{{elections_dab1}}}|Elections]] }}
            | {{#ifexist: Elections in {{if empty|{{{state|}}}|{{{country}}}}} | [[Elections in {{if empty|{{{state|}}}|{{{country}}}}}|Elections]]}}
            }}
      }}<!--
 
        -->{{#if:{{{country2|}}}
    | {{Unbulleted list |style=line-height:1.3em; margin-top:0.2em; padding-top:0.2em; border-top: 1px solid #aaa;
          | {{#if:{{{country_dab2|}}}
            | {{#ifexist: {{{country_dab2|}}} | [[{{{country_dab2}}}|Politics of {{{country2}}}]] }}
            | {{#ifexist: Politics of {{{country2}}} | [[Politics of {{{country2}}}]] }}
            }}
          | {{#if:{{{parties_dab1|}}}
            | {{#ifexist: {{{parties_dab2|}}} | [[{{{parties_dab2}}}|Political parties]] }}
            | {{#ifexist: List of political parties in {{{country2}}} | [[List of political parties in {{{country2}}}|Political parties]] }}
            }}
          | {{#if:{{{elections_dab1|}}}
            | {{#ifexist: {{{elections_dab2}}} | [[{{{elections_dab2}}}|Elections]] }}
            | {{#ifexist: Elections in {{{country2}}} | [[Elections in {{{country2}}}|Elections]]}}
            }}
      }}  }}  }}<!--
      -->{{#if:{{{footnotes|}}} |<hr/>{{{footnotes}}} }}
 
}}{{#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 313: Line 272:
| type =
| type =
| published =  
| published =  
| source =
| name_lang1 =  
| name_lang1 =  
| lang2 =  
| lang2 =  

Revision as of 02:33, 26 December 2020

Library infobox work

How to use this template:

{{Library work
| title = 
| author = 
| type =
| published = 
| source = 
| 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 = 
}}