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 editNext edit →Content deleted Content addedVisualWikitext
Revision as of 10:16, 8 February 2013 view sourceThumperward (talk | contribs)Administrators122,780 edits minor code cleanup← Previous edit Revision as of 10:29, 8 February 2013 view source Thumperward (talk | contribs)Administrators122,780 edits loads more simplification / bulletproofingNext edit →
Line 1: Line 1:
{{ sidebar with collapsible lists {{ sidebar with collapsible lists
| name = {{{name|}}} | name = {{{name|}}}
| style = background-color: {{{backcolour|}}}; | style = {{#if:{{{backcolour|}}}|background-color: {{{backcolour}}} }}
| pretitle = Part of ] the | pretitle = Part of ] on the
| title = {{normalwraplink|Culture of {{{region|}}}}} | title = {{normalwraplink|Culture of {{{region}}}}}
| titlestyle = border-bottom: 1px solid #aaa; background-color: {{{titlecolour|}}} | titlestyle = {{#if:{{{titlecolour|}}}|background-color: {{{titlecolour}}};}} border-bottom: 1px solid #aaa
| image = {{#if:{{{image|}}}|]}} | image = {{#if:{{{image|}}}|]}}
| imageclass = photo | imageclass = photo
| caption = {{{caption|}}} | caption = {{{caption|}}}
| bodyclass = hlist | bodyclass = hlist
| headingstyle = text-align: left; border-top: 1px solid #aaa; background-color: {{{titlecolour|}}} | headingstyle = {{#if:{{{titlecolour|}}}|background-color: {{{titlecolour}}};}} text-align: left; border-top: 1px solid #aaa
| listtitlestyle = text-align: left; border-top: 1px solid #aaa; background-color: {{{titlecolour|}}} | listtitlestyle = {{#if:{{{titlecolour|}}}|background-color: {{{titlecolour}}};}} text-align: left; border-top: 1px solid #aaa


| expanded = {{{expanded|{{{1|}}}}}} | expanded = {{{expanded|{{{1|}}} }}}


| heading1 = {{#if:{{{histtopics|}}}||{{#if:{{{histoverride|}}}|]|]}}}}
| list1name = History | list1name = History
| list1title = {{#if:{{{histoverride|}}}|]|]}} | list1title = ]
| list1 = {{{histtopics|}}} | list1 = {{{histtopics|}}}


| heading2 = {{#if:{{{ethnotopics|}}}||{{#if:{{{ethnooverride|}}}|]|]}}}}
| list2name = People | list2name = People
| list2title = {{#if:{{{ethnooverride|}}}|]|]}} | list2title = ]
| list2 = {{{ethnotopics|}}} | list2 = {{{ethnotopics|}}}


| heading3 = {{#if:{{{langtopics|}}}||{{#if:{{{langoverride|}}}|]|]}}}}
| list3name = Languages | list3name = Languages
| list3title = {{#if:{{{langoverride|}}}|]|]}} | list3title = ]
| list3 = {{{langtopics|}}} | list3 = {{{langtopics|}}}


| heading4 = {{#if:{{{tradtopics|}}}||{{#if:{{{tradoverride|}}}|]|]}}}}
| list4name = Traditions | list4name = Traditions
| list4title = {{#if:{{{tradoverride|}}}|]|]}} | list4title = ]
| list4 = {{{tradtopics|}}} | list4 = {{{tradtopics|}}}


| heading5 = {{#if:{{{mythtopics|}}}||{{#if:{{{mythoverride|}}}|]|]}} and {{#if:{{{folkoverride|}}}|]|]}}}}
| list5name = Mythology | list5name = Mythology
| list5title = {{#if:{{{mythoverride|}}}|]|]}} and {{#if:{{{folkoverride|}}}|]|]}} | list5title = ] and ]
| list5 = {{{mythtopics|}}} | list5 = {{{mythtopics|}}}


| heading6 = {{#if:{{{cuistopics|}}}||{{#if:{{{cuisoverride|}}}|]|]}}}}
| list6name = Cuisine | list6name = Cuisine
| list6title = {{#if:{{{cuisoverride|}}}|]|]}} | list6title = ]
| list6 = {{{cuistopics|}}} | list6 = {{{cuistopics|}}}


| heading7 = {{#if:{{{festtopics|}}}||{{#if:{{{festoverride|}}}|]|]}}}}
| list7name = Festivals | list7name = Festivals
| list7title = {{#if:{{{festoverride|}}}|]|]}} | list7title = ]
| list7 = {{{festtopics|}}} | list7 = {{{festtopics|}}}


| heading8 = {{#if:{{{reltopics|}}}||{{#if:{{{reloverride|}}}|]|]}}}}
| list8name = Religion | list8name = Religion
| list8title = {{#if:{{{reloverride|}}}|]|]}} | list8title = ]
| list8 = {{{reltopics|}}} | list8 = {{{reltopics|}}}


| heading9 = {{#if:{{{arttopics|}}}||{{#if:{{{artoverride|}}}|]|]}}}}
| list9name = Art | list9name = Art
| list9title = {{#if:{{{artoverride|}}}|]|]}} | list9title = ]
| list9 = {{{arttopics|}}} | list9 = {{{arttopics|}}}


| heading10 = {{#if:{{{littopics|}}}||{{#if:{{{litoverride|}}}|]|]}}}}
| list10name = Literature | list10name = Literature
| list10title = {{#if:{{{litoverride|}}}|]|]}} | list10title = ]
| list10 = {{{littopics|}}} | list10 = {{{littopics|}}}


| heading11 = {{#if:{{{patopics|}}}||{{#if:{{{musicoverride|}}}|]|]}} and {{#if:{{{paoverride|}}}|]|]}}}}
| list11name = Performances | list11name = Performances
| list11title = {{#if:{{{musicoverride|}}}|]|]}} and {{#if:{{{paoverride|}}}|]|]}} | list11title = ] and ]
| list11 = {{{patopics|}}} | list11 = {{{patopics|}}}


| heading12 =
| list12name = Media | list12name = Media
| list12title = {{#if:{{{mediaoverride|}}}|]|]}} | list12title = ]
| list12 = | list12 =
* ] * ]
* ] * ]
* ] * ] {{#if:{{{mediatopics|}}}|
* {{#if:{{{mediatopics|}}}|{{{mediatopics|}}}}} * {{{mediatopics|}}}}}


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


| heading14 =
| list14name = Monuments | list14name = Monuments
| list14title = {{#if:{{{monuoverride|}}}|]|]}} | list14title = ]
| list14 = | list14 =
* ] * ] {{#if:{{{monutopics|}}}|
* {{#if:{{{monutopics|}}}|{{{monutopics|}}}}} * {{{monutopics|}}}}}


| heading15 =
| list15name = Symbols | list15name = Symbols
| list15title = {{#if:{{{symboverride|}}}|]|]}} | list15title = ]
| list15 = | list15 =
* ] * ]
* ] * ]
* ] * ] {{#if:{{{symbtopics|}}}|
* {{#if:{{{symbtopics|}}}|{{{symbtopics|}}}}} * {{{symbtopics}}}}}


| heading16 =
| list16name = Organisations | list16name = Organisations
| list16title = Organisations | list16title = Organisations
| list16 = {{#if:{{{orgtopics|}}}|{{{orgtopics|}}}}} | list16 = {{{orgtopics|}}}


| below =
| below = {{portal-inline|Culture}}<br>{{#if:{{{portaloverride|}}}|{{portal-inline|{{{portaloverride}}}}}|{{portal-inline|{{{region|}}}}}}}
* {{portal-inline|size=tiny|Culture}}
* {{portal-inline|size=tiny|{{{portaloverride|{{{region}}} }}} }}


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

Revision as of 10:29, 8 February 2013

Part of ] on the
]
]
  • ]
  • ]
  • ]
]
  • ]
]
  • ]
  • ]
  • ]
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
People
Languages
Traditions
Mythology and folklore
Cuisine
Religion
Art
Literature
Music and performing arts
Media
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: