Difference between revisions of "Template:Domain Form"
Jump to navigation
Jump to search
| (10 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{Domain | {{Domain | ||
| + | |domain=AL-009-D | ||
| + | |domainname= | ||
|titlepic= | |titlepic= | ||
|region= | |region= | ||
| Line 18: | Line 20: | ||
<div id="domain-container"> | <div id="domain-container"> | ||
<div id="domain-title" class="clearfix">{{PAGENAME}} | <div id="domain-title" class="clearfix">{{PAGENAME}} | ||
| − | <div id="domain-title-image">{{#if: {{{titlepic|}}}|[[File:{{{titlepic}}}|center]]| | + | <div id="domain-title-image">{{#if: {{{titlepic|}}}|[[File:{{{titlepic}}}|center|200px]]| |
{{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png|center]] | {{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png|center]] | ||
|{{#ifexist: File:{{PAGENAME}}.jpg|[[File:{{PAGENAME}}.jpg|center]] | |{{#ifexist: File:{{PAGENAME}}.jpg|[[File:{{PAGENAME}}.jpg|center]] | ||
| Line 37: | Line 39: | ||
| [[:Category:{{{region}}}|{{{region}}}]] | | [[:Category:{{{region}}}|{{{region}}}]] | ||
|- | |- | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|} | |} | ||
</div> | </div> | ||
| Line 73: | Line 64: | ||
[[Category:Domain]] | [[Category:Domain]] | ||
{{#if: {{{region|}}}|[[Category:{{{region}}}]]}} | {{#if: {{{region|}}}|[[Category:{{{region}}}]]}} | ||
| − | {{#if: {{{domain|}}}|[[Category:{{{domain}}}]]}} | + | |
| + | <!-- Automatically create a subcategory named after the domain code --> | ||
| + | {{#if: {{{domain|}}}| | ||
| + | [[Category:{{{domain}}}]] | ||
| + | }} | ||
| + | |||
| + | <!-- If this is a category page itself, add description + parent link --> | ||
| + | {{#ifeq: {{NAMESPACE}} | Category | | ||
| + | This category contains all pages related to the Domain '''{{PAGENAME}}'''. | ||
| + | [[Category:Domain]] | ||
| + | }} | ||
{{#css: | {{#css: | ||
Latest revision as of 03:43, 5 October 2025
This is the "Domain" template. It should be called in the following format:
{{Domain
|domain=AL-009-D
|domainname=
|titlepic=
|region=
|city=
|state=
|dst_name=
|dst_email=
|dc_name=
|dc_email=
|notes=
}}