Difference between revisions of "Template:Concept"
m |
(campfire) |
||
(90 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude>{{WStemplate |
− | + | |summary=This template is an object for pages about ideas which don't fit other categories. | |
− | + | |description=It should be included at the top of all such pages. | |
+ | |object=concept | ||
+ | }} | ||
'''Usage:''' | '''Usage:''' | ||
''All sections are optional.'' | ''All sections are optional.'' | ||
<poem> | <poem> | ||
{{Concept | {{Concept | ||
− | |description = <500 word summary ''([[Property:Description]])'' | + | |description = <500 word plaintext summary ''([[Property:Description]])'' |
+ | |glossary = <s>Wikitext</s>Plaintext summary for the glossary (major terms only). ''([[Property:GlossaryDescription]])'' | ||
|name = Use if it differs from the PAGENAME | |name = Use if it differs from the PAGENAME | ||
− | |logo = Concept logo ''([[Property:Has logo]])'' | + | |logo = Concept logo ''([[Property:Has logo]])'', ''([[Property:Has logo2]])'' |
|logo_alt = Alt text for the concept logo | |logo_alt = Alt text for the concept logo | ||
|logo_caption = | |logo_caption = | ||
+ | |{{PURPLE|logo_credit}} = URL from which the logo is sourced | ||
|logo_width = (defaults to "250px") | |logo_width = (defaults to "250px") | ||
− | |image = Image for use in the infobox ''([[Property:Has image]])'' | + | |image = Image for use in the infobox ''([[Property:Has image]])'', ''([[Property:Has image2]])'' |
|image_alt = Alt text for image | |image_alt = Alt text for image | ||
|image_caption = Image caption | |image_caption = Image caption | ||
+ | |{{PURPLE|image_credit}} = URL from which the image is sourced | ||
+ | |image_ref = URL of the source | ||
|image_width = (defaults to "250px") | |image_width = (defaults to "250px") | ||
|type = ''([[Property:Has conceptType]])'' | |type = ''([[Property:Has conceptType]])'' | ||
− | |start | + | |{{NAVY|start}} = When the concept was founded ''([[Property:Start]])'' |
− | |wikipedia | + | |{{NAVY|end}} = (Where applicable), when the concept ended ''([[Property:End]])''{{ExampleNeeded}} |
− | |{{GREEN|founders}}= Comma separated list of founders | + | |{{PURPLE|wikipedia}} = URL of the concept's Wikipedia page, if any ''([[Property:Has wikipediaPage]])'' |
− | }} | + | |{{ORANGE|wikipedia_protection}} = Set to 1 if the wikipedia page is edit protected, 0 or empty otherwise ''([[Property:Has wikipediaProtection]])'' |
− | </poem></noinclude><includeonly> | + | |{{PURPLE|campfire}} = URL of the concept's [[campfire]] page ''([[Property:Has campfire]])'' |
+ | |{{PURPLE|cavdef}} = URL of the concept's [[cavdef]] page ''([[Property:Has cavdef]])'' | ||
+ | |{{PURPLE|cspan}} = URL of the concept's [[C-SPAN]] page ''([[Property:Has cspan]])'' | ||
+ | |{{PURPLE|facebook}} = URL of the concept's [[facebook]] page ''([[Property:Has facebook]])'' | ||
+ | |{{PURPLE|historycommons}} = URL of the concept's [[History commons]] page ''([[Property:Has historycommons]])'' | ||
+ | |{{PURPLE|imdb}} = URL of the concept's [[IMDB]] page ''([[Property:Has imdb]])'' | ||
+ | |{{PURPLE|infogalactic}} = URL of the concept's [[Infogalactic]] page ''([[Property:Has infogalactic]])'' | ||
+ | |{{PURPLE|isgp}} = URL of the concept's [[ISGP]] page ''([[Property:Has isgp]])'' | ||
+ | |{{PURPLE|linkedin}} = URL of the concept's [[linkedin]] page ''([[Property:Has linkedin]])'' | ||
+ | |{{PURPLE|modernhistoryproject}} = URL of the person's [[modernhistoryproject]] page ''([[Property:Has modernhistoryproject]])'' | ||
+ | |{{PURPLE|militaristmonitor}} = URL of the person's [[militaristmonitor]] page ''([[Property:Has militaristmonitor]])'' | ||
+ | |{{PURPLE|namebase}} = URL of the concept's [[namebase]] page ''([[Property:Has namebase]])'' | ||
+ | |{{PURPLE|nndb}} = URL of the concept's [[NNDB]] page ''([[Property:Has nndb]])'' | ||
+ | |{{PURPLE|powerbase}} = URL of the concept's [[powerbase]] page ''([[Property:Has powerbase]])'' | ||
+ | |{{PURPLE|saidit}} = URL of the concept's [[saidit]] category page ''([[Property:Has saidit]])'' | ||
+ | |{{PURPLE|sourcewatch}} = URL of the concept's [[sourcewatch]] page ''([[Property:Has sourcewatch]])'' | ||
+ | |{{PURPLE|spartacus}} = URL of the concept's Spartacus page ''([[Property:Has spartacus]])'' | ||
+ | |{{GREEN|constitutes}}= suitable descriptions of this concept ''([[Property:Constitutes]])'' | ||
+ | |{{PURPLE|website}} = A URL of ''particular'' relevance to the concept, ''([[Property:Has website]])'' | ||
+ | |{{GREEN|facilitates}}= Comma separated list of what it facilitates ''([[Property:Has facilitator]])'' | ||
+ | |{{GREEN|founders}}= Comma separated list of founders ''([[Property:Has founder]])'' | ||
+ | |{{GREEN|predecessors}} = Which concept(s) this one replaces/ was developed from | ||
+ | |{{GREEN|successors}} = If obsolete, which concept(s) this was replaced by | ||
+ | |{{VIOLET|key_properties}}= Slash separated list of important properties of this page ''([[Property:Has keyProperties]])'' | ||
+ | |{{VIOLET|key_property_headers}}= Slash separated list of property descriptions (same length as the above) ''([[Property:Has keyPropertyHeaders]])'' | ||
+ | |abbreviation = Concept abbreviation | ||
+ | |{{ORANGE|so_called}} = Set to 1 to illustrate concern about the language, 0 or empty otherwise ''([[Property:So called]])'' - For flagging up deceitful language such as the "[[War on Terror]]" | ||
+ | ABOUT THE OFFICIAL NARRATIVE: | ||
+ | |{{GREEN|ON_constitutes}}= suitable descriptions of this event ''([[Property:ON_constitutes]])'' | ||
+ | ''For concepts which are [[whistleblower]]s:'' | ||
+ | |{{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}}"}} |}}<!-- | ||
Wikipedia Display template | Wikipedia Display template | ||
-->{{Infobox | -->{{Infobox | ||
− | | | + | | above = <span class="fn">{{Infobox class icon}} {{#ifeq: {{{so_called|}}} | 1 | [[So called::Yes| ]]"{{{name|{{PAGENAME}}}}}"|{{{name|{{PAGENAME}}}}}}}</span>{{#if: {{{glossary|}}}| [[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|}}}}})}}{{External icons |
+ | |campfire = {{{campfire|}}} | ||
+ | |cavdef = {{{cavdef|}}} | ||
+ | |cspan = {{{cspan|}}} | ||
+ | |facebook = {{{facebook|}}} | ||
+ | |historycommons = {{{historycommons|}}} | ||
+ | |imdb = {{{imdb|}}} | ||
+ | |infogalactic = {{{infogalactic|}}} | ||
+ | |isgp = {{{isgp|}}} | ||
+ | |linkedin = {{{linkedin|}}} | ||
+ | |militaristmonitor={{{militaristmonitor|}}} | ||
+ | |modernhistoryproject={{{modernhistoryproject|}}} | ||
+ | |namebase = {{{namebase|}}} | ||
+ | |nndb = {{{nndb|}}} | ||
+ | |powerbase = {{{powerbase|}}} | ||
+ | |saidit = {{{saidit|}}} | ||
+ | |sourcewatch = {{{sourcewatch|}}} | ||
+ | |spartacus = {{{spartacus|}}} | ||
+ | |twitter = {{{twitter|}}} | ||
+ | |youtube = {{{youtube|}}} | ||
+ | }}{{DisplayAverageRating}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault=250px|alt={{{image_alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault=250px|alt={{{image_alt|}}}}} | ||
− | | caption = {{{ | + | | caption = {{{image_caption|}}}{{#if: {{{image_ref|}}}|<ref>{{{image_ref|}}}</ref>}}{{#if: {{{image_credit|}}}|{{#if: {{{image_caption|}}}|<br/>}}{{{image_credit|}}}}} |
− | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|}}}|sizedefault=250px|alt={{{logo_alt|}}}}} | + | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|ize={{{logo_width|}}}|sizedefault=250px|alt={{{logo_alt|}}}}} |
− | | caption2 = {{{ | + | <!-- 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|}}}}}}}--> | ||
+ | | caption2 = {{{logo_caption|}}}{{#if: {{{logo_credit|}}}|{{#if: {{{logo_caption|}}}|<br/>}}{{{logo_caption|}}}}} | ||
| label1 = Type | | label1 = Type | ||
− | | data1 = {{{type|}}} | + | | data1 = {{ArrayMapListLink|{{{type|}}}}} |
| label2 = Start | | label2 = Start | ||
− | | data2 = {{{start|}}} | + | | data2 = {{LinkYear|{{{start|}}}}} |
| label3 = Founder(s) | | label3 = Founder(s) | ||
| data3 = {{ArrayMapListLink|{{{founders|}}}}} | | data3 = {{ArrayMapListLink|{{{founders|}}}}} | ||
− | | | + | | label4 = Leader of |
− | | | + | | data4 = {{ArrayMapBulletedList|{{#ask: [[Has leader::{{PAGENAME}}]]}}}} |
+ | | label5 = Deputy | ||
+ | | data5 = {{ArrayMapListLink|{{{deputies|}}}}} | ||
+ | | label6 = Abbreviation | ||
+ | | data6 = {{ArrayMapListLink|{{{abbreviation|}}}}} | ||
+ | | label7 = Interest of | ||
+ | | data7 = {{ArrayMapBulletedList|{{#ask: [[Has interest::{{PAGENAME}}]]|limit=200}}}} | ||
+ | | label8 = Website | ||
+ | | data8 = {{{Website|}}} | ||
+ | | label10 = Predecessor(s) | ||
+ | | data10 = {{ArrayMapBulletedListLink|{{{predecessors|}}}}} | ||
+ | | label11 = Successor(s) | ||
+ | | data11 = {{ArrayMapBulletedListLink|{{{successors|}}}}} | ||
+ | | label13 = Facilitates | ||
+ | | data13 = {{ArrayMapPropertyBulletedListLink|{{{facilitates|}}}|Has facilitator}} | ||
+ | | label16 = End | ||
+ | | data16 = {{LinkYear|{{{End|}}}}} | ||
+ | | label20 = Subpage(s) | ||
+ | | data20 = {{SubpageList}} | ||
+ | | label22 = Exposed | ||
+ | | data22 = {{ArrayMapPropertyBulletedListLink|{{{exposed|}}}|Exposed}} | ||
+ | | below = [[Description::{{{description|}}}]] | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 11:44, 13 March 2023
![]() |
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 parameterswere 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.
{{Concept
|description = <500 word plaintext summary (Property:Description)
|glossary = WikitextPlaintext summary for the glossary (major terms only). (Property:GlossaryDescription)
|name = Use if it differs from the PAGENAME
|logo = Concept logo (Property:Has logo), (Property:Has logo2)
|logo_alt = Alt text for the concept logo
|logo_caption =
|logo_credit = URL from which the logo is sourced
|logo_width = (defaults to "250px")
|image = Image for use in the infobox (Property:Has image), (Property:Has image2)
|image_alt = Alt text for image
|image_caption = Image caption
|image_credit = URL from which the image is sourced
|image_ref = URL of the source
|image_width = (defaults to "250px")
|type = (Property:Has conceptType)
|start = When the concept was founded (Property:Start)
|end = (Where applicable), when the concept ended (Property:End)[Example Needed]
|wikipedia = URL of the concept's Wikipedia page, if any (Property:Has wikipediaPage)
|wikipedia_protection = Set to 1 if the wikipedia page is edit protected, 0 or empty otherwise (Property:Has wikipediaProtection)
|campfire = URL of the concept's campfire page (Property:Has campfire)
|cavdef = URL of the concept's cavdef page (Property:Has cavdef)
|cspan = URL of the concept's C-SPAN page (Property:Has cspan)
|facebook = URL of the concept's facebook page (Property:Has facebook)
|historycommons = URL of the concept's History commons page (Property:Has historycommons)
|imdb = URL of the concept's IMDB page (Property:Has imdb)
|infogalactic = URL of the concept's Infogalactic page (Property:Has infogalactic)
|isgp = URL of the concept's ISGP page (Property:Has isgp)
|linkedin = URL of the concept's linkedin page (Property:Has linkedin)
|modernhistoryproject = URL of the person's modernhistoryproject page (Property:Has modernhistoryproject)
|militaristmonitor = URL of the person's militaristmonitor page (Property:Has militaristmonitor)
|namebase = URL of the concept's namebase page (Property:Has namebase)
|nndb = URL of the concept's NNDB page (Property:Has nndb)
|powerbase = URL of the concept's powerbase page (Property:Has powerbase)
|saidit = URL of the concept's saidit category page (Property:Has saidit)
|sourcewatch = URL of the concept's sourcewatch page (Property:Has sourcewatch)
|spartacus = URL of the concept's Spartacus page (Property:Has spartacus)
|constitutes= suitable descriptions of this concept (Property:Constitutes)
|website = A URL of particular relevance to the concept, (Property:Has website)
|facilitates= Comma separated list of what it facilitates (Property:Has facilitator)
|founders= Comma separated list of founders (Property:Has founder)
|predecessors = Which concept(s) this one replaces/ was developed from
|successors = If obsolete, which concept(s) this was replaced by
|key_properties= Slash separated list of important properties of this page (Property:Has keyProperties)
|key_property_headers= Slash separated list of property descriptions (same length as the above) (Property:Has keyPropertyHeaders)
|abbreviation = Concept abbreviation
|so_called = Set to 1 to illustrate concern about the language, 0 or empty otherwise (Property:So called) - For flagging up deceitful language such as the "War on Terror"
ABOUT THE OFFICIAL NARRATIVE:
|ON_constitutes= suitable descriptions of this event (Property:ON_constitutes)
For concepts which are whistleblowers:
|exposed = Pagename(s) of what this person exposed (Property:Exposed)
}}