檢視模板:政黨資訊面板/席次的原始碼
←
模板:政黨資訊面板/席次
跳至導覽
跳至搜尋
您沒有權限執行編輯此頁面,由於以下原因:
您請求的操作只有這個群組的使用者能使用:
使用者
您可以檢視並複製此頁面的原始碼。
<includeonly>{{#if:{{{席次|}}}|{{#if:{{{總數|}}}|{{!}}- class="infobox-row" {{!}} colspan="2" class="pp-seats-cell" {{!}} <div class="pp-seats"><div class="pp-seats-head"><span class="pp-seats-name">{{#if:{{{議會|}}}|{{{議會}}}|議席}}</span><span class="pp-seats-count">'''{{{席次}}}'''/{{{總數}}}</span></div><div class="pp-seats-bar"><div class="pp-seats-fill" style="width:{{#expr: {{{席次}}} / {{{總數}}} * 100 round 2}}%;background-color:#{{政黨色|{{{政黨|}}}}};background-color:{{{色碼|}}};"></div><div class="pp-seats-majority" style="left:{{#expr: (floor({{{總數}}} / 2) + 1) / {{{總數}}} * 100 round 2}}%;" title="過半數:{{#expr: floor({{{總數}}} / 2) + 1}}席"></div></div><div class="pp-seats-note">{{#expr: {{{席次}}} / {{{總數}}} * 100 round 1}}%{{#if:{{{年份|}}}| ・ {{{年份}}}}}{{#ifexpr: {{{席次}}} * 2 > {{{總數}}}| ・ <span class="pp-seats-majority-text">過半數</span>}}</div></div> }}}}</includeonly><noinclude> 由 [[Template:政黨資訊面板]] 自動呼叫,顯示單一議會的席次比例。 * 長條中的虛線為過半數門檻,即總數的一半加一席 * 席次超過總數一半時,下方會標示「過半數」 [[Category:資訊面板模板]] </noinclude>
返回到「
模板:政黨資訊面板/席次
」。
導覽選單
個人工具
建立帳號
登入
associated-pages
模板
討論
臺灣正體
視圖
閱讀
檢視原始碼
檢視歷史
更多
搜尋
導覽
首頁
近期變更
隨機頁面
MediaWiki說明
特殊頁面
工具
連結至此的頁面
相關變更
頁面資訊