Template:Region article/infobox: Difference between revisions
From Dive Atlas
(Restrict subregions listing to regions only) |
(Use IsPartOf template...so confusing) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:parent_region (label=Parent Region;property=Part of)}} | {{#template_params:parent_region (label=Parent Region;property=Part of)}} | ||
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | </noinclude> | ||
<includeonly> | |||
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | |||
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ||
|- | |- | ||
! Parent Region | ! Parent Region | ||
| [[ | | [[{{{parent_region}}}]] | ||
|- | |- | ||
! Subregions | ! Subregions | ||
Line 14: | Line 17: | ||
|} | |} | ||
{{IsPartOf|{{{parent_region}}}}} | |||
[[Category:Region]] | [[Category:Region]] | ||
</includeonly> | </includeonly> |
Revision as of 20:09, 3 January 2025
This is the "Region article/infobox" template.
It should be called in the following format:
{{Region article/infobox |parent_region= }}
Edit the page to see the template text.