선거의 득표율 등에서 사용할 용도로 만들어진 틀입니다.


입력 결과
{{ns:Category|대만}}
 
분류
{{PAGESINCATEGORY:대만|all}}
 
38
{{PAGESINCATEGORY:대만|pages}}
 
30
{{PAGESINCATEGORY:대만|subcats}}
 
6
{{PAGESINCATEGORY:대만|files}}
 
2
{{PAGESINCATEGORY:대만}}
 
38
{{PAGESINCAT:대만}}
 
38


입력 결과
{{PAGESINCAT:{{DISPLAYTITLE:정치인}}}}
 
0
{{대문자:pagesincategory_subcats}}
 
PAGESINCATEGORY_SUBCATS
{{{{대문자:pagesincategory_subcats}}:정치인}}
 
틀:PAGESINCATEGORY SUBCATS:정치인
[[Special:PrefixIndex/분류:분류 틀/|hideredirects=no|hideredirects=yes|stripprefix=]]
 
hideredirects=no|hideredirects=yes|stripprefix=
* [[Special:PrefixIndex/분류:2010년]]
* [[Special:PrefixIndex/분류:2010년|hideredirects=no|hideredirects=no|stripprefix=yes]]
 
* {{PAGESINCATEGORY:국회의원}} - 분류:국회의원
* {{PAGESINCATEGORY:국회의원|pages}} - 분류:국회의원 문서
 
  • 367 - 분류:국회의원
  • 324 - 분류:국회의원 문서


{{if |{{{링크|}}}
     |2=[[Special:PrefixIndex/{{if |{{{2|}}}|2={{{1|}}}{{{2|}}}|3={{{1|{{FULLPAGENAME}}}}}/}}
            |hideredirects={{if |{{{hideredirects}}} |yes|}}
            |stripprefix={{{stripprefix|}}}]]
     |3=<div class="columns-{{{열|2}}}"><templatestyles src="틀:하위문서 목록/styles.css"/>{{Special:PrefixIndex/{{if |{{{2|}}}
               |2={{{1|}}}{{{2|}}}
               |3={{{1|{{FULLPAGENAME}}}}}/}}
            |hideredirects={{if |{{{hideredirects}}}|yes|}}
            |stripprefix={{{stripprefix|}}} }}</div>
}}


입력 결과
{{ns:Category|대만}}
 
분류
{{PAGESINCATEGORY:대만|all}}
 
38
{{PAGESINCATEGORY:대만|pages}}
 
30
{{PAGESINCATEGORY:대만|subcats}}
 
6
{{PAGESINCATEGORY:대만|files}}
 
2
{{PAGESINCATEGORY:대만}}
 
38
{{PAGESINCAT:대만}}
 
38


입력 결과
{{PAGESINCAT:{{DISPLAYTITLE:정치인}}}}
 
0
{{대문자:pagesincategory_subcats}}
 
PAGESINCATEGORY_SUBCATS
{{{{대문자:pagesincategory_subcats}}:정치인}}
 
틀:PAGESINCATEGORY SUBCATS:정치인
[[Special:PrefixIndex/분류:분류 틀/|hideredirects=no|hideredirects=yes|stripprefix=]]
 
hideredirects=no|hideredirects=yes|stripprefix=
* [[Special:PrefixIndex/분류:2010년]]
* [[Special:PrefixIndex/분류:2010년|hideredirects=no|hideredirects=no|stripprefix=yes]]
 
* {{PAGESINCATEGORY:국회의원}} - 분류:국회의원
* {{PAGESINCATEGORY:국회의원|pages}} - 분류:국회의원 문서
 
  • 367 - 분류:국회의원
  • 324 - 분류:국회의원 문서


{{if |{{{링크|}}}
     |2=[[Special:PrefixIndex/{{if |{{{2|}}}|2={{{1|}}}{{{2|}}}|3={{{1|{{FULLPAGENAME}}}}}/}}
            |hideredirects={{if |{{{hideredirects}}} |yes|}}
            |stripprefix={{{stripprefix|}}}]]
     |3=<div class="columns-{{{열|2}}}"><templatestyles src="틀:하위문서 목록/styles.css"/>{{Special:PrefixIndex/{{if |{{{2|}}}
               |2={{{1|}}}{{{2|}}}
               |3={{{1|{{FULLPAGENAME}}}}}/}}
            |hideredirects={{if |{{{hideredirects}}}|yes|}}
            |stripprefix={{{stripprefix|}}} }}</div>
}}


사용법

{{퍼센트|수치|색깔}}

{{퍼센트|수치|색깔바탕색}}

{{퍼센트|수치|색깔|바탕색|길이=100|테두리색= }}

설명

  • 수치: 1~100의 숫자
  • 색깔: 색상 코드, 헥스코드 (red, blue, #88ffee등)
  • 바탕색: 생략가능. 기본값은 white
  • 길이= 퍼센트바의 크기. 기본값은 100px. 생략가능.
  • 테두리= 퍼센트 바의 테두리 색깔. 기본값은 검은색. 생략가능.
  • 표시=는 퍼센트 바 옆에 수치를 표시할 때 사용. 기본은 나타나지 않으나 표시=예를 입력하면 값이 표시된다.

사용예

{{퍼센트|75|#cc0000}}
75 
 
 #cc0000%
{{퍼센트|85|blue}}
85 
 
 blue%
{{퍼센트|20|#cc0|green}}
20 
 
 #cc0%
{{퍼센트|45|pink|blue}} 
45 
 
 pink%
{{퍼센트|27|grey}} 
27 
 
 gold%

함께보기

틀:퍼센트2 - 검은 테두리가 없는 틀
틀:퍼센트3 - 그래프 옆에 수치가 표시