Jump to content

Template:Infobox National People's Congress and Template:Infobox National People's Congress/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
>Woko Sapien
 
>WOSlinker
use flatlist
 
Line 1: Line 1:
{{Infobox
<includeonly>{{Infobox
| bodystyle = width: 26em;
| bodystyle = width: 26em;
| above = {{ubl|{{{year}}} National People's Congress
| abovestyle = background:#920101; color:#FFDE00;
   | {{nobold|{{{chinese}}}}}
| above = {{ubl|{{{year}}} [[National People's Congress|<span style="color:#FFDE00;">National People's Congress</span>]]
   | {{nobold|{{small|''{{{pinyin}}}''}}}}
   | {{{chinese}}}
   | {{sub|{{{session}}} plenary session of the }}
   | {{small|''{{{pinyin}}}''}}
   | {{sub|{{{#}}} National People's Congress}}
   | {{sub|{{{session}}} Plenary Session}}
   | <br />{{{term-begin}}} &ndash; {{#switch:{{{status|}}}|active = present|inactive = {{{term-end}}}|#default = present}}}}
   | {{sub|[[{{{#}}} National People's Congress|<span style="color:#FFDE00;">{{{#}}} National People's Congress</span>]]}}
   | <br>{{{term-begin}}} &ndash; {{#switch:{{{status|}}}|active = present|inactive = {{{term-end}}}|#default = present}}}}
| datastyle = color:red;
| datastyle = color:red;
| data1 = {{hr}}
| data1 = {{hr}}
Line 14: Line 15:
  | datastylea = text-align:center; vertical-align:middle; width: 33%;  
  | datastylea = text-align:center; vertical-align:middle; width: 33%;  
  | datastyleb = text-align:center; vertical-align:middle; width: 33%;  
  | datastyleb = text-align:center; vertical-align:middle; width: 33%;  
  | label1 = [[President of China|President]]
  | label1 = [[President of the People's Republic of China|President]]
  | data1a = [[Premier of China|Premier]]
  | data1a = [[Premier of the People's Republic of China|Premier]]
  | data1b = [[Chairman of the Standing Committee of the National People's Congress|Congress Chairman]]
  | data1b = [[Chairman of the Standing Committee of the National People's Congress|Congress Chairman]]


Line 26: Line 27:
  | data3b = '''[[{{{ch}}}]]'''
  | data3b = '''[[{{{ch}}}]]'''


  | label4 = {{#if:{{{pzterm|}}}|since<br />{{{pzterm|}}}}}
  | label4 = since<br>{{{pzterm}}}
  | data4a = {{#if:{{{pmterm|}}}|since<br />{{{pmterm|}}}}}
  | data4a = since<br>{{{pmterm}}}
  | data4b = {{#if:{{{chterm|}}}|since<br />{{{chterm|}}}}}
  | data4b = since<br>{{{chterm}}}
}}
}}
| data3 = {{#if:{{{pze|}}}|{{hr}}}}
| data3 = {{#if:{{{pze|}}}|{{hr}}}}
Line 36: Line 37:
  | datastylea = text-align:center; width: 33%; vertical-align:middle;
  | datastylea = text-align:center; width: 33%; vertical-align:middle;
  | datastyleb = text-align:center; width: 33%; vertical-align:middle;
  | datastyleb = text-align:center; width: 33%; vertical-align:middle;
  | label1 = [[President of China|President-elect]]
  | label1 = [[President of the People's Republic of China|President-elect]]
  | data1a = [[Premier of China|Premier-elect]]
  | data1a = [[Premier of the People's Republic of China|Premier-elect]]
  | data1b = [[Chairman of the Standing Committee of the National People's Congress|Congress Chairman-elect]]
  | data1b = [[Chairman of the Standing Committee of the National People's Congress|Congress Chairman-elect]]


Line 47: Line 48:
  | data3a = '''[[{{{pme}}}]]'''
  | data3a = '''[[{{{pme}}}]]'''
  | data3b = '''[[{{{che}}}]]'''
  | data3b = '''[[{{{che}}}]]'''
| label4 = since<br>{{{pzeterm}}}
| data4a = since<br>{{{pmeterm}}}
| data4b = since<br>{{{cheterm}}}


| label4 = {{#if:{{{pzeterm|}}}|since<br />{{{pzeterm|}}}}}
| data4a = {{#if:{{{pmeterm|}}}|since<br />{{{pmeterm|}}}}}
| data4b = {{#if:{{{cheterm|}}}|since<br />{{{cheterm|}}}}}
}}
}}
}}
}}
Line 64: Line 65:
| belowclass  = noprint nowrap padding-top: 3px;  
| belowclass  = noprint nowrap padding-top: 3px;  
}}
}}
{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox National People's Congress with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox National People's Congress]] with unknown parameter "_VALUE_"|ignoreblank=y| # | ch | che | cheimage | cheterm | chimage | chinese | chterm | lastyear | nextyear | pinyin | pm | pme | pmeimage | pmeterm | pmimage | pmterm | pz | pze | pzeimage | pzeterm | pzimage | pzterm | session | status | term-begin | term-end | website | year }}<noinclude>
</includeonly><noinclude>
{{Documentation}}
{{testcase table
| year = "year"
| chinese = "chinese"
| pinyin = "pinyin"
| session = "session"
| # = "#"
| term-begin = "term-begin"
| status = "status"
| term-end = "term-end"
 
 
| pz = Hu Jintao
| pzimage = [[File:Hu Jintao Cannes2011.jpg|100px]]
| pzterm = 15 March 2003
| ch = Wu Bangguo
| chimage = [[File:Wu Bangguo Beijing2011.jpg|100px]]
| chterm = 15 March 2003
| pm = Wen Jiabao
| pmimage = [[File:Wen Jiabao (Cropped).jpg|100px]]
| pmterm =  16 March 2003
 
 
| pze = "pze"
| pzeimage = "pzeimage"
| pmeimage = "pmeimage"
| cheimage = "cheimage"
| pme = "pme"
| che = "che"
| website = "website"
| lastyear = "lastyear"
| nextyear = "nextyear"
}}
</noinclude>
</noinclude>