Wikispooks
wikispooks
https://wikispooks.com/wiki/Main_Page
MediaWiki 1.33.2
first-letter
Media
Special
Talk
User
User talk
Wikispooks
Wikispooks talk
File
File talk
MediaWiki
MediaWiki talk
Template
Template talk
Help
Help talk
Category
Category talk
Property
Property talk
Form
Form talk
Concept
Concept talk
Document
Document talk
Wikipedia
Wikipedia talk
Test
Test talk
Widget
Widget talk
Campaign
Campaign talk
Module
Module talk
Gadget
Gadget talk
Gadget definition
Gadget definition talk
Template:Publication
10
16630
252054
195528
2022-09-25T12:04:14Z
Robin
120
Fix desc?
wikitext
text/x-wiki
<noinclude>{{WStemplate
|summary=This template provides a standard format for pages about publications, whether films, leaflets, books, magazines or other such.
|description=It is ''not'' for pages in the {{NS|document}} - in this case, use [[Template:Document]] instead. Also do not use it for [[website]]s - use [[Template:Website]] instead.
|object=publication
}}
'''{{RED|To do: A link to corresponding {{NS|Document}}(s)?}}'''<br/>
'''Usage:'''
<poem>
{{Publication
ESSENTIAL DETAILS
|{{NAVY|publication_date}}= PublicationDate ''([[Property:Has publicationDate]])''
|type={article, essay, paper, book review, letter, memo etc.} ''([[Property:Has documentType]])''
|{{PURPLE|source_URL}}=URL of an online source, if it is available online
|{{BLUE|source_name}}=General name of the source, e.g. "[[Unwelcome Guests]]", "[[Cryptome]]", ... ''([[Property:Sourced from]])''
|{{GREEN|authors}}= Comma separated list of authors. For pseudonyms, use single quotes. If anonymous, use ''Unknown''. ''([[Property:Has author]])''
|{{GREEN|subjects}}= Comma separated list of subject items. For pseudonyms, use single quotes. If anonymous, use ''Unknown''. ''([[Property:Is about]])''
''OPTIONAL DETAILS:''
|description= ''A human readable plaintext description of less than 500 characters.''([[Property:Description]])''
|subtitle=The subtitle, e.g. of a book
|collection=Yes (Use if this is a collection of documents)
|draft=Yes (Use for draft documents)
|{{PURPLE|modernhistoryproject}} = URL of the document's modernhistoryproject page, if any ''([[Property:Has modernhistoryproject]])''
|{{PURPLE|wikipedia}} = URL of the document'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]])''
|{{GREEN|wikipedia_problems}} = A comma-separated list of problems, 1 or more of the following possibilities: {censored, bias, gaps, twisted, unclear} ''([[Property:Has wikipediaProblem]])'' {{RED|Not Implemented As of July 2017}}
|{{PURPLE|wikiquote}} = URL of the document's wikiquote page, if any ''([[Property:Has wikiquote]])''
|{{PURPLE|amazon}} = URL of the document's Amazon page, if any ''([[Property:Has amazon]])''
|{{BLUE|local}}=Address of the wikispooks copy ''([[Property:Has localCopy]])''
|image= An image for the publication (Recommended, for example the cover if the publication is a book)
|image_alt = Alt text for the image
|image_width = The default value is "250px"
|image_caption = Caption for the image
|classification=Original security classification, e.g. "official", "secret", "top secret"... ''([[Property:Has classification]])''
|classification_detail= Optional note about the security classification
|leaked=Yes (Use for leaked documents)
|declassified=Yes (Use for declassified documents)
|declassified_date=When the document was declassified
|declassified_detail= Optional Note about the declassification
|author_type=Explanatory note about authorship, e.g. "alleged"
|version=For versioned documents
|{{GREEN|editors}}= Comma separated list of editors. For pseudonyms, use single quotes. If anonymous, use ''Unknown''. ''([[Property:Has editor]])''
|{{GREEN|producers}}= Comma separated list of producers. For pseudonyms, use single quotes. If anonymous, use ''Unknown''. ''([[Property:Has producer]])''
|{{GREEN|recipients}}= For emails, letters, speeches etc. ''([[Property:Has recipient]])''
|{{GREEN|constitutes}} = What the document constitutes ''([[Property:Constitutes]])''
|{{GREEN|ON_constitutes}} = What the document ON constitutes ''([[Property:ON_constitutes]])''
''FOR LAWS''
|{{NAVY|effective_date}}= When this law was/will become effective ''([[Property:Has effectiveDate]])''
''FOR PERIODICALS, MAGAZINES, etc:''
|ISBN= ISBN number ''([[Property:Has ISBN]])''
|{{NAVY|start}} = When the concept was founded ''([[Property:Start]])''
|{{NAVY|end}} = (Where applicable), when the concept ended ''([[Property:End]])''{{ExampleNeeded}}
|{{GREEN|founders}}= Comma separated list of founders ''([[Property:Has founder]])''
''FOR FOREIGN TRANSLATIONS:''
|original_language=Language name for non-English originals ''([[Property:Has originalLanguage]])''
|original_title=The title of the original document ''([[Property:Has originalTitle]])''
|{{PURPLE|publisher_URL}}=Web address of the publishers
|{{BLUE|publisher_name}}=Name of the publishers
|publisher_detail=Optional extra note about the publishers
''OPTIONAL NOTES:''
|note= Random spare note
|credit= Note of thanks
''FOR FILMS:''
|{{PURPLE|imdb}} = URL of the publications's IMDB page ''([[Property:Has imdb]])''
}}
</poem></noinclude><includeonly>{{DISPLAYTITLE:''{{FULLPAGENAME}}''}}{{SMWObjectHeader|Publication}}[[Has publicationDate::{{{publication_date|}}}| ]]{{#if: {{{logo|}}}|[[Has logo::Image:{{{logo}}}| ]][[Has logo2::Image:{{{logo}}}| ]]}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{#if: {{{type|}}}|[[Has documentType::{{{type}}}| ]]}}{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]][[Has image2::File:{{{image|}}}| ]]}}<!--
-->{{#if: {{{amazon|}}}|[[Has amazon::{{{amazon}}}| ]]}}<!--
-->{{#if: {{{wikipedia|}}}|[[Has wikipediaPage2::{{{wikipedia}}}| ]]}}{{#if: {{{WP|}}}|[[Has wikipediaPage2::{{{WP}}}| ]]}}{{SMWDefaultMarkup}}{{ArrayMapProperty|{{{founders|}}}|Has founder}}{{#if: {{{key_properties|}}}|[[Has keyProperties::{{{key_properties|}}}| ]]}}{{#if: {{{key_property_headers|}}}|[[Has keyPropertyHeaders::{{{key_property_headers}}}| ]]}}[[Start::{{{start|}}}| ]][[End::{{{end|}}}| ]][[Has ISBN::{{{ISBN|}}}| ]][[Has imdb::{{{imdb|}}}| ]]{{ArrayMapProperty|{{{recipients|}}}|Has recipient}}{{ArrayMapProperty|{{{subjects|}}}|Is about}}<!--
Wikipedia Display template
-->{{Infobox
| above = <span class="fn">{{Infobox class icon}} {{{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
|amazon = {{{amazon|}}}
|facebook = {{{facebook|}}}
|historycommons = {{{historycommons|}}}
|imdb = {{{imdb|}}}
|linkedin = {{{linkedin|}}}
|modernhistoryproject = {{{modernhistoryproject|}}}
|namebase = {{{namebase|}}}
|nndb = {{{nndb|}}}
|powerbase = {{{powerbase|}}}
|sourcewatch = {{{sourcewatch|}}}
|spartacus = {{{spartacus|}}}
|twitter = {{{twitter|}}}
|wikiquote = {{{wikiquote|}}}
|youtube = {{{youtube|}}}
}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault=250px|alt={{{image_alt|}}}}}
| caption = {{{image_caption|}}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|ize={{{logo_width|}}}|sizedefault=250px|alt={{{logo_alt|}}}}}
| caption2 = {{{logo_caption|}}}
| label1 = Type
| data1 = {{DisplayDocType|{{{type|}}}|{{{draft|}}}|{{{collection|}}}}}
| label2 = Publication date
| data2 = {{{publication_date|}}}
| label3 = Effective date
| data3 = {{{effective_date|}}}
| label4 = Founder(s)
| data4 = {{ArrayMapListLink|{{{founders|}}}}}
| label5 = Version
| data5 = {{{version|}}}
| label6 = Founded
| data6 = {{{start|}}}
| label7 = Dissolved
| data7 = {{{end|}}}
| label8 = Author(s)
| data8 = {{#if: {{{authors|}}}|{{ArrayMapPropertyBulletedListLink|{{{authors|}}}|Has author}}|Unknown[[Category:Authorless publications]]}}{{#if: {{{author_type|}}} | ({{{author_type}}})|}}
| label9 = Producer(s)
| data9 = {{ArrayMapListLink|{{{producers|}}}}}
| label10 = Editor(s)
| data10 = {{{editors|}}}
| label11 = Recipient(s)
| data11 = {{ArrayMapListLink|{{{recipients|}}}}}
| label13 = Exposed by
| data13 = {{#ask: [[Exposed::{{FULLPAGENAME}}]] | format=list}}
| label14 = Subjects
| data14 = {{ArrayMapListLink|{{{subjects|}}}}}
| label15 =Publishers
| data15 ={{#if: {{{PublisherName|}}} | {{Agent|Has publisher|{{{publisher_name|}}}|{{#if: {{{publisher_URL|}}}| <nowiki>[</nowiki>[{{{publisher_URL}}} Link]<nowiki>]</nowiki>}} {{{publisher_detail|}}} }} |}}
| label16 = Classification
| data16 = {{DisplayClassification|{{{classification|}}}|{{{classification_detail|}}}|{{{Leaked|}}}|{{{declassified|}}}|{{{declassified_date|}}}|{{{declassified_detail|}}}}}
| label18 = [[ISBN]]
| data18 = {{{ISBN|}}}
| label22 = Original language
| data22 = {{ArrayMapListLink|{{{original_language|}}}}}
| label26 = Original title
| data26 = {{ArrayMapListLink|{{{original_title|}}}}}
| label27 = Interest of
| data27 = {{ArrayMapBulletedList|{{#ask: [[Has interest::{{PAGENAME}}]]}}}}
| label28 = Interests
| data28 = {{ArrayMapPropertyListLink|{{{interests|}}}|Has interest}}
| label29 = Founder of
| data29 = {{ArrayMapBulletedList|{{#ask: [[Has founder::{{PAGENAME}}]]}}}}
| label31 = Source
| data31 = {{#if: {{{source_name|}}}{{{source_URL|}}}{{{source_detail|}}}|{{DisplaySource|{{{source_URL|}}}|{{{source_name|}}}|{{{source_detail|}}}}}<br/>}}
| label34 = Website
| data34 = {{{Website|}}}
| label40 = Subpage(s)
| data40 = {{SubpageList}}
| label44 = Local copy
| data44 = {{#ifexist: {{{local|}}} | [[Has localCopy::{{{local}}}]] | {{#if:{{#pos:{{{local|}}}|http}} | [{{{local}}} Here] | {{RED|Broken Link: [[{{{local}}}]] }} }} }}
|below=[[Has description::{{{description|}}}]]
}}</includeonly>
qxzrcd9duhu81mpqwudpv3l4r7zd2ll