Jump to content

Template:Concept: Difference between revisions

From Deep Politics Wiki
WikiSpooks>Robin
Arrows for prev/next
 
WikiBot (talk | contribs)
m Plain formatting, no semantic markup
 
Line 63: Line 63:
''For concepts which are [[whistleblower]]s:''
''For concepts which are [[whistleblower]]s:''
|{{GREEN|exposed}} = Pagename(s) of what this person exposed ''([[Property:Exposed]])''
|{{GREEN|exposed}} = Pagename(s) of what this person exposed ''([[Property:Exposed]])''
}}</poem></noinclude><includeonly>{{SMWObjectHeader|Concept}}{{#if: {{{logo|}}}|[[Has logo::Image:{{{logo}}}| ]][[Has logo2::Image:{{{logo}}}| ]]}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}[[Start::{{{start|}}}| ]][[End::{{{end|}}}| ]]{{#if: {{{glossary|}}}|{{Invisible|[[GlossaryDescription::{{{glossary}}}]]}}}}{{#if: {{{type|}}}|[[Has conceptType::{{{type}}}| ]]}}{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]][[Has image2::File:{{{image|}}}| ]]}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage2::{{{wikipedia}}}| ]]}}{{#if: {{{WP|}}}|[[Has wikipediaPage2::{{{WP}}}| ]]}}{{SMWDefaultMarkup}}{{ArrayMapProperty|{{{founders|}}}|Has founder}}{{ArrayMapProperty|{{{deputies|}}}|Has deputy}}{{#if: {{{key_properties|}}}|[[Has keyProperties::{{{key_properties|}}}| ]]}}{{#if: {{{key_property_headers|}}}|[[Has keyPropertyHeaders::{{{key_property_headers}}}| ]]}}{{#ifeq: {{{so_called|}}} | 1 | [[So called::Yes| ]]{{DISPLAYTITLE:"{{PAGENAME}}"}} |}}<!--
}}</poem></noinclude><includeonly>{{SMWObjectHeader|Concept}}{{#if: {{{logo|}}}|}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{#if: {{{glossary|}}}|{{Invisible|{{{glossary}}}}}}}{{#if: {{{type|}}}|}}{{#if: {{{image|}}}|}}{{#if: {{{wikipedia|}}}|}}{{#if: {{{WP|}}}|}}{{SMWDefaultMarkup}}{{ArrayMapProperty|{{{founders|}}}|Has founder}}{{ArrayMapProperty|{{{deputies|}}}|Has deputy}}{{#if: {{{key_properties|}}}|}}{{#if: {{{key_property_headers|}}}|}}{{#ifeq: {{{so_called|}}} | 1 | {{DISPLAYTITLE:"{{PAGENAME}}"}} |}}<!--
Wikipedia Display template
Wikipedia Display template
-->{{Infobox
-->{{Infobox
| above ={{MaybePrev}}<span class="fn">{{Infobox class icon}}&nbsp;{{#ifeq: {{{so_called|}}} | 1 | [[So called::Yes| ]]"{{{name|{{PAGENAME}}}}}"|{{{name|{{PAGENAME}}}}}}}</span>{{#if: {{{glossary|}}}|&nbsp;[[image:Glossary.png|link=Wikispooks:Glossary|26px]]}}{{#if: {{{wikipedia_protection|}}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-padlock-icon.png}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-icon.png}}}}{{#if: {{{constitutes|}}}|<br/>({{ArrayMapListLink|{{{constitutes|}}}}})}}{{#if: {{{ON_constitutes|}}}|<br/>("{{ArrayMapListLink|{{{ON_constitutes|}}}}}")}}{{External icons
| above ={{MaybePrev}}<span class="fn">{{Infobox class icon}}&nbsp;{{#ifeq: {{{so_called|}}} | 1 | "{{{name|{{PAGENAME}}}}}"|{{{name|{{PAGENAME}}}}}}}</span>{{#if: {{{glossary|}}}|&nbsp;[[image:Glossary.png|link=Wikispooks:Glossary|26px]]}}{{#if: {{{wikipedia_protection|}}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-padlock-icon.png}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-icon.png}}}}{{#if: {{{constitutes|}}}|<br/>({{ArrayMapListLink|{{{constitutes|}}}}})}}{{#if: {{{ON_constitutes|}}}|<br/>("{{ArrayMapListLink|{{{ON_constitutes|}}}}}")}}{{External icons
|campfire = {{{campfire|}}}
|campfire = {{{campfire|}}}
|cavdef =      {{{cavdef|}}}
|cavdef =      {{{cavdef|}}}
Line 93: Line 93:
| image2  = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|ize={{{logo_width|}}}|sizedefault=250px|alt={{{logo_alt|}}}}}
| image2  = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|ize={{{logo_width|}}}|sizedefault=250px|alt={{{logo_alt|}}}}}
<!-- The below was serious misbehaving after the upgrade to SMW 2.2, but was working OK(ish) with earlier versions. Disabled 2015-05-18 by Robin
<!-- The below was serious misbehaving after the upgrade to SMW 2.2, but was working OK(ish) with earlier versions. Disabled 2015-05-18 by Robin
{{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{logo|}}}|{{{logo}}}|{{#if: {{#ask: [[Has leader::{{PAGENAME}}]]}}|{{logo_of|{{#ask: [[Has leader::{{PAGENAME}}]]}}}}}}|size={{{logo_width|}}}|sizedefault=250px|alt={{{logo_alt|}}}}}}}-->
{{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{logo|}}}|{{{logo}}}|{{#if: |{{logo_of|}}}}|size={{{logo_width|}}}|sizedefault=250px|alt={{{logo_alt|}}}}}}}-->
| caption2 = {{{logo_caption|}}}{{#if: {{{logo_credit|}}}|{{#if: {{{logo_caption|}}}|<br/>}}{{{logo_caption|}}}}}
| caption2 = {{{logo_caption|}}}{{#if: {{{logo_credit|}}}|{{#if: {{{logo_caption|}}}|<br/>}}{{{logo_caption|}}}}}
| label1  = Type
| label1  = Type
Line 108: Line 108:
| data6    = {{ArrayMapListLink|{{{abbreviation|}}}}}
| data6    = {{ArrayMapListLink|{{{abbreviation|}}}}}
| label7  = Interest&nbsp;of
| label7  = Interest&nbsp;of
| data7    = {{ArrayMapBulletedList|{{#ask: [[Has interest::{{PAGENAME}}]]|limit=200}}}}
| data7    = {{ArrayMapBulletedList|}}
| label8  = Website
| label8  = Website
| data8    = {{{Website|}}}
| data8    = {{{Website|}}}
Line 127: Line 127:
| label22  = Exposed
| label22  = Exposed
| data22  = {{ArrayMapPropertyBulletedListLink‎|{{{exposed|}}}|Exposed}}
| data22  = {{ArrayMapPropertyBulletedListLink‎|{{{exposed|}}}|Exposed}}
| below    = [[Description::{{{description|}}}]]
| below    = {{{description|}}}
}}</includeonly>
}}</includeonly>

Latest revision as of 22:34, 24 September 2026

SMWObjects
Semantic Object Templates:        Decade • Place • Timeline • Year • Disambiguation
Concept • Document • Employment • Event • Group • Person • Publication • Website

This template is an object for pages about ideas which don't fit other categories.

It should be included at the top of all such pages.

Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameters were formerly available, but have been upgraded. Some may still work, but do not use these.

See concept for a list of pages that use this template.

Usage: All sections are optional. <poem>WikitextPlaintext summary for the glossary (major terms only). (Property:GlossaryDescription)

 Use if it differs from the PAGENAME File:Glossary.png
[[File:Image for use in the infobox (Property:Has image), (Property:Has image2)|(defaults to "250px")|alt=Alt text for image|Alt text for image]]
Image caption[1]
[[File:Concept logo (Property:Has logo), (Property:Has logo2)|250px|alt=Alt text for the concept logo|Alt text for the concept logo]]
Type(Property:Has conceptType)
AbbreviationConcept abbreviation
<500 word plaintext summary (Property:Description)

</poem>

  1. ↑