Misplaced Pages

Template:Culture of region: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 10:29, 8 February 2013 view sourceThumperward (talk | contribs)Administrators122,809 edits loads more simplification / bulletproofing← Previous edit Latest revision as of 16:34, 2 May 2024 view source Rich Farmbrough (talk | contribs)Edit filter managers, Autopatrolled, Extended confirmed users, File movers, Pending changes reviewers, Rollbackers, Template editors1,725,685 edits Caps 
(53 intermediate revisions by 20 users not shown)
Line 1: Line 1:
{{ sidebar with collapsible lists {{Sidebar with collapsible lists
| name = {{{name|}}} | name = {{{name|}}}
| style = {{#if:{{{backcolour|}}}|background-color: {{{backcolour}}} }} | style = {{#if: {{{backcolour|}}} | background-color:{{{backcolour}}}; }}
| pretitle = Part of ] on the | pretitle = {{#if: {{{series|{{#ifexist: Category:{{{region}}} | y }}}}} | Part of ] on the }}
| title = {{normalwraplink|Culture of {{{region}}}}} | title = {{#ifeq: {{PAGENAME}} | Culture of {{{region}}} | Culture of {{{region}}} | {{Normalwraplink|1= Culture of {{{region}}} }} }}
| titlestyle = {{#if:{{{titlecolour|}}}|background-color: {{{titlecolour}}};}} border-bottom: 1px solid #aaa | titlestyle = {{#if: {{{titlefontsize|}}} | font-size:{{{titlefontsize|}}}; }}{{#if: {{{titlecolour|}}} | background-color:{{{titlecolour}}}; }}border-bottom: 1px solid #aaa
| image = {{#invoke:InfoboxImage|InfoboxImage
| image = {{#if:{{{image|}}}|]}}
| image = {{{image|}}}
| imageclass = photo
| caption = {{{caption|}}} | size = {{{imagesize|}}}
| sizedefault = frameless
| bodyclass = hlist
| alt = {{{alt|}}}
| headingstyle = {{#if:{{{titlecolour|}}}|background-color: {{{titlecolour}}};}} text-align: left; border-top: 1px solid #aaa
| border = {{{border|}}}
| listtitlestyle = {{#if:{{{titlecolour|}}}|background-color: {{{titlecolour}}};}} text-align: left; border-top: 1px solid #aaa
}}
| imageclass = photo
| caption = {{{caption|}}}
| bodyclass = hlist
| headingstyle = font-size:105%;line-height:1.6;{{#if: {{{titlecolour|}}} | background-color:{{{titlecolour}}}; }}
| listtitlestyle = {{#if: {{{titlecolour|}}} | background-color:{{{titlecolour}}}; }}
| centered list titles = y
| expanded = {{{expanded|{{{1|}}}}}}


| list1name = History
| expanded = {{{expanded|{{{1|}}} }}}
| {{#if: {{{histtopics|}}} | list1title | heading1 }} = {{Linkexist|History of {{{region}}}|History|{{{histoverride|}}}|{{{ethnotopics|}}}}}
| list1 =
{{{histtopics|}}}


| list2name = People
| list1name = History
| {{#if: {{{ethnotopics|}}} | list2title | heading2 }} = {{Linkexist|Ethnic groups in {{{region}}}|People|{{{ethnooverride|}}}}}
| list1title = ]
| list2 =
| list1 = {{{histtopics|}}}
{{{ethnotopics|}}}


| list3name = Languages
| list2name = People
| {{#if: {{{langtopics|}}} | list3title | heading3 }} = {{Linkexist|Languages of {{{region}}}|Languages|{{{langoverride|}}}|{{{langtopics|}}}}}
| list2title = ]
| list3 =
| list2 = {{{ethnotopics|}}}
{{{langtopics|}}}


| list4name = Traditions
| list3name = Languages
| {{#if: {{{tradtopics|}}}|list4title|heading4}} = {{Linkexist|Traditions of {{{region}}}|Traditions|{{{tradoverride|}}}|{{{tradtopics|}}}}}
| list3title = ]
| list4 =
| list3 = {{{langtopics|}}}
{{{tradtopics|}}}


| list5name = Mythology and folklore
| list4name = Traditions
| {{#if: {{{mythtopics|}}}{{{folktopics|}}} | list5title | heading5 }} = {{Enum
| list4title = ]
| 1 = {{Linkexist|Mythology of {{{region}}}|Mythology|{{{mythoverride|}}}|{{{mythtopics|}}}}}
| list4 = {{{tradtopics|}}}
| 2 = {{Linkexist|Folklore of {{{region}}}|folklore|{{{folkoverride|}}}|{{{folktopics|}}}}}
}}
| list5 =
{{{mythtopics|}}}
{{{folktopics|}}}


| list6name = Cuisine
| list5name = Mythology
| list5title = ] and ] | {{#if: {{{cuistopics|}}} | list6title | heading6 }} = {{Linkexist|Cuisine of {{{region}}}|Cuisine|{{{cuisoverride|}}}|{{{cuistopics|}}}}}
| list6 =
| list5 = {{{mythtopics|}}}
{{{cuistopics|}}}


| list7name = Festivals
| list6name = Cuisine
| list6title = ] | {{#if: {{{festtopics|}}} | list7title | heading7 }} = {{Linkexist|Festivals of {{{region}}}|Festivals|{{{festoverride|}}}|{{{festtopics|}}}}}
| list7 =
| list6 = {{{cuistopics|}}}
{{{festtopics|}}}


| list8name = Religion
| list7name = Festivals
| list7title = ] | {{#if: {{{reltopics|}}} | list8title | heading8 }} = {{Linkexist|Religion in {{{region}}}|Religion|{{{reloverride|}}}|{{{reltopics|}}}}}
| list8 =
| list7 = {{{festtopics|}}}
{{{reltopics|}}}


| list9name = Art
| list8name = Religion
| list8title = ] | {{#if: {{{arttopics|}}} | list9title | heading9 }} = {{Linkexist|Art of {{{region}}}|Art|{{{artoverride|}}}|{{{arttopics|}}}}}
| list9 =
| list8 = {{{reltopics|}}}
{{{arttopics|}}}


|list10name = Literature
| list9name = Art
| list9title = ] |{{#if: {{{littopics|}}} | list10title | heading10 }} = {{Linkexist|Literature of {{{region}}}|Literature|{{{litoverride|}}}|{{{littopics|}}}}}
|list10 =
| list9 = {{{arttopics|}}}
{{{littopics|}}}


| list11name = Music and performing arts
| list10name = Literature
| {{#if: {{{musictopics|}}}{{{patopics|}}} | list11title | heading11 }} = {{Enum
| list10title = ]
| 1 = {{Linkexist|Music of {{{region}}}|Music|{{{musicoverride|}}}|{{{musictopics|}}}}}
| list10 = {{{littopics|}}}
| 2 = {{Linkexist|Performing art of {{{region}}}|performing arts|{{{paoverride|}}}|{{{patopics|}}}}}
}}
| list11 =
{{{musitopics|}}}
{{{patopics|}}}


| list12name = Media
| list11name = Performances
| list11title = ] and ] | list12title = {{Linkexist|Media in {{{region}}}|Media|{{{mediaoverride|}}}|y}}
| list11 = {{{patopics|}}} | list12 = {{#ifexist: Radio in {{{region}}} |

| list12name = Media
| list12title = ]
| list12 =
* ] * ]
}}{{#ifexist: Television in {{{region}}} |
* ] * ]
}}{{#ifexist: {{{cinemaoverride|Cinema of {{{region}}}}}} |
* ] {{#if:{{{mediatopics|}}}|
* ]
* {{{mediatopics|}}}}}
}}
{{{mediatopics|}}}


| list13name = Sport | list13name = Sport
| list13title = ] | {{#if: {{{sporttopics|}}} | list13title | heading13 }} = {{Linkexist|Sport in {{{region}}}|Sport|{{{sportoverride|}}}|{{{sporttopics|}}}}}
| list13 = {{{sporttopics|}}} | list13 =
{{{sporttopics|}}}


| list14name = Monuments |list14name = Monuments
| list14title = ] |{{#if: {{#ifexist: List of World Heritage Sites in {{{region}}} | y }}{{{monutopics|}}}
| list14title | heading14 }} = {{Linkexist|Monuments of {{{region}}}|Monuments|{{{monuoverride|}}}| {{#ifexist: List of World Heritage Sites in {{{region}}} | y }}{{{monutopics|}}} }}
| list14 =
* ] {{#if:{{{monutopics|}}}| |list14 = {{#ifexist: List of World Heritage Sites in {{{region}}} |
* ]
* {{{monutopics|}}}}}
}}
{{{monutopics|}}}


| list15name = Symbols |list15name = Symbols
|{{#if: {{#ifexist: {{{flagoverride|Flag of {{{region}}}}}} | y }}{{#ifexist: {{{armsoverride|Coat of arms of {{{region}}}}}} | y }}{{#ifexist: {{{anthemoverride|National anthem of {{{region}}}}}} | y }}{{{symbtopics|}}}
| list15title = ]
| list15title | heading15
| list15 =
}} = {{Linkexist|Symbols of {{{region}}}|Symbols|{{{symboverride|}}}| {{#ifexist: {{{flagoverride|Flag of {{{region}}}}}} | y }}{{#ifexist: {{{armsoverride|Coat of arms of {{{region}}}}}} | y }}{{#ifexist: {{{anthemoverride|National anthem of {{{region}}}}}} | y }}{{{symbtopics|}}} }}
* ]
* ] |list15 = {{#ifexist: {{{flagoverride|Flag of {{{region}}}}}} |
* ] {{#if:{{{symbtopics|}}}| * ]
}}{{#ifexist: {{{armsoverride|Coat of arms of {{{region}}}}}} |
* {{{symbtopics}}}}}
* ]
}}{{#ifexist: {{{anthemoverride|National anthem of {{{region}}}}}} |
* ]
}}
{{{symbtopics|}}}


| list16name = Organisations |list16name = Organisations
| list16title = Organisations |{{#if: {{{orgtopics|}}} | list16title | heading16 }} = {{Linkexist|Organisations of {{{region}}}|Organisations|{{{orgoverride|}}}|{{{orgtopics|}}}}}
| list16 = {{{orgtopics|}}} |list16 = {{{orgtopics|}}}


| below = |below = {{#switch: {{lc:{{{noportal|}}}}}
|yes|y|true|t|1=
* {{portal-inline|size=tiny|Culture}}
* {{portal-inline|size=tiny|{{{portaloverride|{{{region}}} }}} }} |#default= {{#if: {{{portaloverride|{{#ifexist: Portal:{{{region}}} | y }}}}} |
* {{Portal-inline|{{{portaloverride|{{{region}}}}}}| size = tiny }}
}}}}


}}<noinclude>{{documentation}}<!-- placde category and language links on the /doc sub-page, not here --></noinclude> }}<noinclude>{{documentation}}<!-- Place category and language links on the /doc sub-page, not here --></noinclude>

Latest revision as of 16:34, 2 May 2024

]
Template documentation[view] [edit] [history] [purge]

This template is intended to standardise "Culture of Region" sidebars.

Parameters

{{ culture of region
| name           = <!-- Name of template. Typically this should be "Culture of Region". -->
| region         = <!-- Name of region. Prefix name with "the" if necessary (e.g. the Central African Republic). -->
| image          = <!-- Just the file name, such as "Example.jpg". -->
| alt            = <!-- Alternative text to use in case the image is not visible. -->
| caption        = <!-- Caption for the image. -->
| backcolour     = <!-- Background colour of entire sidebar. -->
| titlecolour    = <!-- Colour of list titles and sidebar heading. -->
| expanded       = <!-- Section heading to be expanded by default. -->
| histtopics     = <!-- History topics. -->
| ethnotopics    = <!-- Relevant ethnic group articles. -->
| langtopics     = <!-- Relevant language articles. -->
| tradtopics     = <!-- Topics on mythology, folklore, customs, traditions, traditional costume, etc. -->
| mythtopics     = <!-- Mythology and folklore topics. -->
| cuistopics     = <!-- Food topics. -->
| festtopics     = <!-- Festivals topics. -->
| reltopics      = <!-- Religion topics. -->
| arttopics      = <!-- Art topics. -->
| littopics      = <!-- Literature topics -->
| patopics       = <!-- Music and performing arts topics. -->
| mediatopics    = <!-- Media topics not already listed. -->
| sporttopics    = <!-- Sport topics. -->
| monutopics     = <!-- Monuments articles not already listed. -->
| symbtopics     = <!-- Symbols articles not already listed. -->
| orgtopics      = <!-- Relevant cultural institutes and other organisations (e.g. national museum, national library). -->
}}

Overrides

Some headings and values can be overridden if the titles of the articles in question are not of the format "X of region". For instance, the article on the people of Wales is Welsh people: therefore, | ethnooverride = Welsh people can be used to change the section heading.

Do not include override lines if the title follows the normal format, even if left blank: this will result in erroneous output.

| series         = <!-- Alternative category. Defaults to ]. -->
| imagesize      = <!-- Size of the image in px, if the standard thumbnail size is not desired. -->
| histoverride   = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| ethnooverride  = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| langoverride   = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| tradoverride   = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| mythoverride   = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| folkoverride   = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| cuisoverride   = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| festoverride   = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| reloverride    = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| artoverride    = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| litoverride    = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| musicoverride  = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| paoverride     = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| mediaoverride  = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| cinemaoverride = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| sportoverride  = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| monuoverride   = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| flagoverride   = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| armsoverride   = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| anthemoverride = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| symboverride   = <!-- Alternative wikilink without square brackets. Defaults to ]. -->
| portaloverride = <!-- Alternative portal name. Useful if REGION is prefixed with "the". -->
| noportal       = yes <!-- optional; use only if region has no portal -->

Collapsible lists

This template includes collapsible lists.

  • • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Culture of region |expanded=all}} or, if enabled, {{Culture of region |all}}  (i.e. omitting "expanded=").
  • • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
  •  {{Culture of region |expanded=listname}} or, if enabled, {{Culture of region |listname}}
  • …where listname is one of the following (do not include any quotemarks):
  • "History", "People", "Languages", "Traditions", "Mythology", "Cuisine", "Festivals", "Religion", "Art", "Literature", "Performances", "Media", "Monuments", "Symbols" or "Organisations"
  • For example, {{Culture of region |expanded=Languages}} or, if enabled, {{Culture of region |Languages}}

Examples

Part of a series on the
Culture of Romania
Scrisoarea lui Neacsu
History
People
Languages
Traditions
Mythology and folklore
Cuisine
Festivals
Religion
Art
Literature
Music and performing arts
Media
Sport
Monuments
Symbols
Organisations
{{ culture of region
| name          = Culture of Romania
| region        = Romania
| image         = Scrisoarea lui Neacsu.jpg
| imagesize     = 100
| alt           = 
| caption       = Scrisoarea lui Neacsu
| backcolour    = #FFF5EE
| titlecolour   = #FFDEAD
| expanded      = Languages
| ethnotopics   = 
* ]
* ] (])
* ] (])
* ]
* ]
* ]
* ]
| langtopics    = 
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
| tradtopics    = 
* ]
* ]
| mythtopics    = 
* ]
* ]
| cuisoverride  = Romanian cuisine
| cuistopics    = 
* ]
* ]
* ]
* ]
* ]
| festoverride  = :Category:Festivals in Romania
| reltopics     = 
* ]
* ]
* ]
* ]
| arttopics     = 
* ]
| littopics     = 
* ]
* ]
| patopics       = 
* ]
* ]
* ]
| mediaoverride = Communications media in Romania
| mediatopics   = 
| monutopics    = 
* ]
* ]
* ]
* ]
| orgtopics     = 
* ]
* ]
}}

Templates

Culture of Africa templates
Sovereign states
States with limited
recognition
Dependencies and
other territories
Culture of Asia templates
Sovereign states
States with
limited recognition
Dependencies and
other territories
Culture of Europe templates
Sovereign states
States with limited
recognition
Dependencies and
other entities
Culture of North America templates
Sovereign states
Dependencies and
other territories
Culture of South America templates
Sovereign states
Dependencies and
other territories
Culture of Oceania templates
Sovereign states
Associated states
of New Zealand
Dependencies
and other territories
The above documentation is transcluded from Template:Culture of region/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Category: