Difference between revisions of "Template:Publication"
(Add support for titular_logo - Better late than never) |
(test) |
||
(One intermediate revision by the same user not shown) | |||
Line 104: | Line 104: | ||
| data7 = {{{end|}}} | | data7 = {{{end|}}} | ||
| label8 = Author(s) | | label8 = Author(s) | ||
− | | data8 = {{#if: {{{authors|}}}|{{ArrayMapPropertyBulletedListLink|{{{authors|}}}|Has author}}| | + | | data8 = {{#if: {{{authors|}}}|{{ArrayMapPropertyBulletedListLink|{{{authors|}}}|Has author}}|[[Category:Authorless publications]]}}{{#if: {{{author_type|}}} | ({{{author_type}}})|}} |
| label9 = Producer(s) | | label9 = Producer(s) | ||
| data9 = {{ArrayMapListLink|{{{producers|}}}}} | | data9 = {{ArrayMapListLink|{{{producers|}}}}} | ||
Line 138: | Line 138: | ||
| data40 = {{SubpageList}} | | data40 = {{SubpageList}} | ||
| label44 = Local copy | | label44 = Local copy | ||
− | | data44 = {{#ifexist: {{{local|}}} | [[Has localCopy::{{{local}}}]] | {{#if:{{#pos:{{{local|}}}|http}} | [{{{local}}} Here] | + | | data44 = {{#ifexist: {{{local|}}} | [[Has localCopy::{{{local}}}]] | {{#if:{{#pos:{{{local|}}}|http}} | [{{{local}}} Here] }} }} |
|below=[[Has description::{{{description|}}}]] | |below=[[Has description::{{{description|}}}]] | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 11:38, 16 May 2024
Concept • Document • Employment • Event • Group • Person • Publication • Website |
This template provides a standard format for pages about publications, whether films, leaflets, books, magazines or other such.
It is not for pages in the document: namespace - in this case, use Template:Document instead. Also do not use it for websites - use Template:Website instead.
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 publication for a list of pages that use this template.
To do: A link to corresponding Document: namespace(s)?
Usage:
{{Publication
ESSENTIAL DETAILS
|publication_date= PublicationDate (Property:Has publicationDate)
|type={article, essay, paper, book review, letter, memo etc.} (Property:Has documentType)
|source_URL=URL of an online source, if it is available online
|source_name=General name of the source, e.g. "Unwelcome Guests", "Cryptome", ... (Property:Sourced from)
|authors= Comma separated list of authors. For pseudonyms, use single quotes. If anonymous, use Unknown. (Property:Has author)
|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)
|modernhistoryproject = URL of the document's modernhistoryproject page, if any (Property:Has modernhistoryproject)
|wikipedia = URL of the document'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)
|wikipedia_problems = A comma-separated list of problems, 1 or more of the following possibilities: {censored, bias, gaps, twisted, unclear} (Property:Has wikipediaProblem) Not Implemented As of July 2017
|wikiquote = URL of the document's wikiquote page, if any (Property:Has wikiquote)
|amazon = URL of the document's Amazon page, if any (Property:Has amazon)
|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"
|titular_logo = Set to 1 if the logo includes the title (Property:Has titularLogo)
|version=For versioned documents
|editors= Comma separated list of editors. For pseudonyms, use single quotes. If anonymous, use Unknown. (Property:Has editor)
|producers= Comma separated list of producers. For pseudonyms, use single quotes. If anonymous, use Unknown. (Property:Has producer)
|recipients= For emails, letters, speeches etc. (Property:Has recipient)
|constitutes = What the document constitutes (Property:Constitutes)
|ON_constitutes = What the document ON constitutes (Property:ON_constitutes)
FOR LAWS
|effective_date= When this law was/will become effective (Property:Has effectiveDate)
FOR PERIODICALS, MAGAZINES, etc:
|ISBN= ISBN number (Property:Has ISBN)
|start = When the concept was founded (Property:Start)
|end = (Where applicable), when the concept ended (Property:End)[Example Needed]
|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)
|publisher_URL=Web address of the publishers
|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:
|imdb = URL of the publications's IMDB page (Property:Has imdb)
}}