Template:AdministrativeSubdivision: Difference between revisions

Jump to navigation Jump to search
add Maintenance
No edit summary
(add Maintenance)
 
Line 21: Line 21:
|Diocese2 (label=Diocese 2, type=Page, deprecated=Use dioceses_count and links in prose)
|Diocese2 (label=Diocese 2, type=Page, deprecated=Use dioceses_count and links in prose)
|Diocese3 (label=Diocese 3, type=Page, deprecated=Use dioceses_count and links in prose)
|Diocese3 (label=Diocese 3, type=Page, deprecated=Use dioceses_count and links in prose)
|Maintenance (label=Maintenance tags, list=true, allowed values={{:Template:Maintenance Tags}})
}}
}}
{{#cargo_declare:_table=AdministrativeSubdivision
{{#cargo_declare:_table=AdministrativeSubdivision
|subdivision_name=Page
|subdivision_name=Page
Line 44: Line 44:
|Diocese2=Page (deprecated)
|Diocese2=Page (deprecated)
|Diocese3=Page (deprecated)
|Diocese3=Page (deprecated)
|Maintenance=List (,) of String
}}
}}
== Usage ==
== Usage ==
This template is used to describe a civil administrative subdivision (state, province, etc.) with Catholic demographic and historical data.
This template is used to describe a civil administrative subdivision (state, province, etc.) with Catholic demographic and historical data.
Only ''verifiable'' data should be entered. Cite sources in the article body.
Only ''verifiable'' data should be entered. Cite sources in the article body.
=== Required ===
=== Required ===
* <code>subdivision_name</code> – Full name of the subdivision (page title)
* <code>subdivision_name</code> – Full name of the subdivision (page title)
=== Strongly recommended ===
=== Strongly recommended ===
* <code>country</code>, <code>population</code>, <code>catholic_population</code>, <code>date_catholicism_introduced</code>
* <code>country</code>, <code>population</code>, <code>catholic_population</code>, <code>date_catholicism_introduced</code>
=== Deprecated ===
=== Deprecated ===
* <code>Diocese1</code>, <code>Diocese2</code>, <code>Diocese3</code> – Use <code>dioceses_count</code> and link dioceses in article text.
* <code>Diocese1</code>, <code>Diocese2</code>, <code>Diocese3</code> – Use <code>dioceses_count</code> and link dioceses in article text.
[[Category:Template documentation]]
[[Category:Template documentation]]
</noinclude>
</noinclude>
Line 85: Line 80:
|Diocese2={{{Diocese2|}}}
|Diocese2={{{Diocese2|}}}
|Diocese3={{{Diocese3|}}}
|Diocese3={{{Diocese3|}}}
|Maintenance={{{Maintenance|}}}
}}
}}


Line 97: Line 93:
}}
}}


{{#template_display:_format=infobox}}
[[Category:Administrative Subdivision]]


[[Category:Administrative Subdivision]]
<!-- Maintenance categories -->
{{#if: {{{Maintenance|}}} |
  {{#arraymap:{{{Maintenance|}}}|,|xxx|
    {{#ifeq: {{trim|xxx}} | Needs expansion    | [[Category:Articles needing expansion]]    }}
    {{#ifeq: {{trim|xxx}} | Needs sources        | [[Category:Articles needing sources]]        }}
    {{#ifeq: {{trim|xxx}} | Needs references    | [[Category:Articles needing references]]    }}
    {{#ifeq: {{trim|xxx}} | Needs images        | [[Category:Articles needing images]]        }}
    {{#ifeq: {{trim|xxx}} | Needs cleanup        | [[Category:Articles needing cleanup]]        }}
    {{#ifeq: {{trim|xxx}} | Stub                | [[Category:Stubs]]                          }}
    {{#ifeq: {{trim|xxx}} | Under construction  | [[Category:Articles under construction]]     }}
  }}
}}
</includeonly>
</includeonly>

Navigation menu