Difference between revisions of "Template:Infobox publisher/doc"
imported>Funandtrvl (update) |
|||
| (7 intermediate revisions by 4 users not shown) | |||
| Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
| − | Copy | + | Copy this version to use, remove hidden notes (both the <code><nowiki><!--</nowiki></code> and <code><nowiki>--></nowiki></code> characters) that surround certain entries, in order for the data you enter to appear in the published article. All fields '''''must''''' be [[lowercase]], and all are optional. |
{{Parameter names example | {{Parameter names example | ||
|_template=Infobox publisher | |_template=Infobox publisher | ||
| name | | name | ||
| − | | image | + | | image |image_size |alt |
| caption | | caption | ||
| parent | | parent | ||
| status | | status | ||
| − | | traded_as | + | | traded_as |
| predecessor | | predecessor | ||
| founded | | founded | ||
| founder | | founder | ||
| successor | | successor | ||
| + | | defunct | ||
| country | | country | ||
| headquarters | | headquarters | ||
| Line 39: | Line 40: | ||
| name = | | name = | ||
| image = | | image = | ||
| + | | image_size = | ||
| + | | alt = | ||
| caption = | | caption = | ||
| parent = | | parent = | ||
| status = | | status = | ||
| − | | traded_as = | + | | traded_as = <!-- or | nasdaq = --> |
| predecessor = | | predecessor = | ||
| − | | founded = | + | | founded = <!-- use {{start date and age|YYYY|MM|DD}} --> |
| founder = <!-- or | founders = --> | | founder = <!-- or | founders = --> | ||
| + | | defunct = <!-- use {{end date and age|YYYY|MM|DD}} --> | ||
| successor = | | successor = | ||
| country = | | country = | ||
| Line 58: | Line 62: | ||
| owner = | | owner = | ||
| numemployees = | | numemployees = | ||
| − | | website = | + | | website = <!-- {{URL|example.com}} --> |
}} | }} | ||
</pre> | </pre> | ||
| Line 68: | Line 72: | ||
* '''name''': publisher name, especially if article title has a dab ("Awesome Fiction (publisher)") | * '''name''': publisher name, especially if article title has a dab ("Awesome Fiction (publisher)") | ||
| − | * '''image''': An [[WP:IMAGE|image]] of the company logo; make sure it is [[WP:FU|fair use]] if uploading. Do not use a [[thumbnail]] or include a caption, but include the file name within square brackets as usual and specify the image size in pixels (px) — <nowiki>[[File:Example.png|25px]]</nowiki> produces [[File:Example.png|25px]], the file [[:File:Example.png|Example.png]] 25 pixels wide. Make sure the image is more than 25 pixels wide, the example image is 100px. | + | * '''image''': An [[WP:IMAGE|image]] of the company logo; make sure it is [[WP:FU|fair use]] if uploading. Do not use a [[thumbnail]] or include a caption, but include the file name within square brackets as usual and specify the image size in pixels (px) — <nowiki>[[File:Bad Title Example.png|25px]]</nowiki> produces [[File:Bad Title Example.png|25px]], the file [[:File:Example.png|Example.png]] 25 pixels wide. Make sure the image is more than 25 pixels wide, the example image is 100px. |
* '''parent''': If a [[subsidiary]], include the [[parent company]]. | * '''parent''': If a [[subsidiary]], include the [[parent company]]. | ||
| − | * '''status''': | + | * '''status''': legal status, or active. Use '''defunct''' with end date for closed publishers. |
* '''traded_as''': The stock exchange(s) and stock ticker symbol(s) of publicly traded companies, using stock ticker templates. Information about the company's status as a component of a major index can also be added. If there is more than one entry, use {{tlx|ubl}} to format the entries. A list of available stock ticker symbol templates is available at [[:Category:Ticker symbol templates]].<br />Examples: <code><nowiki>{{NYSE|DLB}}</nowiki></code> '''OR''' <code><nowiki>{{ubl|{{NASDAQ|MSFT}}|{{SEHK|4338}}|[[Dow Jones Industrial Average]] component|[[NASDAQ-100]] component|[[S&P 500]] component}}</nowiki></code> | * '''traded_as''': The stock exchange(s) and stock ticker symbol(s) of publicly traded companies, using stock ticker templates. Information about the company's status as a component of a major index can also be added. If there is more than one entry, use {{tlx|ubl}} to format the entries. A list of available stock ticker symbol templates is available at [[:Category:Ticker symbol templates]].<br />Examples: <code><nowiki>{{NYSE|DLB}}</nowiki></code> '''OR''' <code><nowiki>{{ubl|{{NASDAQ|MSFT}}|{{SEHK|4338}}|[[Dow Jones Industrial Average]] component|[[NASDAQ-100]] component|[[S&P 500]] component}}</nowiki></code> | ||
* '''founded''': Year the company was started, if known. Use the template {{tl|Start date}}, as in <nowiki>{{Start date|YEAR OF FOUNDING}}</nowiki> | * '''founded''': Year the company was started, if known. Use the template {{tl|Start date}}, as in <nowiki>{{Start date|YEAR OF FOUNDING}}</nowiki> | ||
| Line 86: | Line 90: | ||
{{Infobox publisher | {{Infobox publisher | ||
| name = Awesome Fiction | | name = Awesome Fiction | ||
| − | | image = | + | | image = Bad Title Example.png |
| + | | image_size = 100px | ||
| + | | alt = Example publisher logo | ||
| caption = Example publisher logo | | caption = Example publisher logo | ||
| parent = Awesome Distributions Inc. | | parent = Awesome Distributions Inc. | ||
| status = Active | | status = Active | ||
| + | | traded_as = n/a | ||
| predecessor = Predecessor company | | predecessor = Predecessor company | ||
| founded = {{Start date|1990}} | | founded = {{Start date|1990}} | ||
| founder = Awesome Q. Publisher | | founder = Awesome Q. Publisher | ||
| + | | defunct = n/a | ||
| + | | successor = n/a | ||
| country = [[United States]] | | country = [[United States]] | ||
| headquarters = [[New York City]] | | headquarters = [[New York City]] | ||
| Line 110: | Line 119: | ||
{{Infobox publisher | {{Infobox publisher | ||
| name = Awesome Fiction | | name = Awesome Fiction | ||
| − | | image = | + | | image = Bad Title Example.png |
| + | | image_size = 100px | ||
| + | | alt = Example publisher logo | ||
| caption = Example publisher logo | | caption = Example publisher logo | ||
| parent = Awesome Distributions Inc. | | parent = Awesome Distributions Inc. | ||
| status = Active | | status = Active | ||
| + | | traded_as = n/a | ||
| predecessor = Predecessor company | | predecessor = Predecessor company | ||
| founded = {{Start date|1990}} | | founded = {{Start date|1990}} | ||
| founder = Awesome Q. Publisher | | founder = Awesome Q. Publisher | ||
| + | | defunct = n/a | ||
| + | | successor = n/a | ||
| country = [[United States]] | | country = [[United States]] | ||
| headquarters = [[New York City]] | | headquarters = [[New York City]] | ||
| Line 135: | Line 149: | ||
== Microformat == | == Microformat == | ||
{{UF-hcard-org}} | {{UF-hcard-org}} | ||
| + | |||
| + | == TemplateData == | ||
| + | {{TemplateData header}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "name": {}, | ||
| + | "image": {}, | ||
| + | "image size": {}, | ||
| + | "imagesize": {}, | ||
| + | "image_upright": {}, | ||
| + | "alt": {}, | ||
| + | "image caption": {}, | ||
| + | "caption": {}, | ||
| + | "parent": {}, | ||
| + | "status": {}, | ||
| + | "traded_as": {}, | ||
| + | "nasdaq": {}, | ||
| + | "predecessor": {}, | ||
| + | "founded": {}, | ||
| + | "founder": { | ||
| + | "aliases": [ | ||
| + | "founders" | ||
| + | ] | ||
| + | }, | ||
| + | "defunct": { | ||
| + | "aliases": [ | ||
| + | "dissolved" | ||
| + | ] | ||
| + | }, | ||
| + | "successor": {}, | ||
| + | "country": {}, | ||
| + | "headquarters": {}, | ||
| + | "distribution": {}, | ||
| + | "keypeople": {}, | ||
| + | "publications": {}, | ||
| + | "topics": {}, | ||
| + | "genre": {}, | ||
| + | "imprints": {}, | ||
| + | "revenue": {}, | ||
| + | "owner": {}, | ||
| + | "numemployees": {}, | ||
| + | "website": { | ||
| + | "aliases": [ | ||
| + | "url" | ||
| + | ] | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
== Tracking category == | == Tracking category == | ||
* {{clc|Pages using infobox publisher with unknown parameters}} | * {{clc|Pages using infobox publisher with unknown parameters}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
== See also == | == See also == | ||
| Line 148: | Line 208: | ||
{{Organization infoboxes}} | {{Organization infoboxes}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
| − | {{ | ||
<!--Categories below here, please; interwikis to Wikidata.--> | <!--Categories below here, please; interwikis to Wikidata.--> | ||
[[Category:Organization infobox templates|Publisher]] | [[Category:Organization infobox templates|Publisher]] | ||
[[Category:Publishing infobox templates|Publisher]] | [[Category:Publishing infobox templates|Publisher]] | ||
| + | [[Category:Infobox templates using Wikidata]] | ||
[[Category:Templates that add a tracking category]] | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 19:58, 16 September 2020
| 40px | This is a documentation subpage for Template:Infobox publisher. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
This template is designed for articles about publishing companies.
Contents
Usage
Copy this version to use, remove hidden notes (both the <!-- and --> characters) that surround certain entries, in order for the data you enter to appear in the published article. All fields must be lowercase, and all are optional.
Template:Parameter names example
{{Infobox publisher
| name =
| image =
| image_size =
| alt =
| caption =
| parent =
| status =
| traded_as = <!-- or | nasdaq = -->
| predecessor =
| founded = <!-- use {{start date and age|YYYY|MM|DD}} -->
| founder = <!-- or | founders = -->
| defunct = <!-- use {{end date and age|YYYY|MM|DD}} -->
| successor =
| country =
| headquarters =
| distribution =
| keypeople =
| publications =
| topics =
| genre =
| imprints =
| revenue =
| owner =
| numemployees =
| website = <!-- {{URL|example.com}} -->
}}
Description of fields
No fields are mandatory but fill in as many fields as possible.
- name: publisher name, especially if article title has a dab ("Awesome Fiction (publisher)")
- image: An image of the company logo; make sure it is fair use if uploading. Do not use a thumbnail or include a caption, but include the file name within square brackets as usual and specify the image size in pixels (px) — [[File:Bad Title Example.png|25px]] produces 25px, the file Example.png 25 pixels wide. Make sure the image is more than 25 pixels wide, the example image is 100px.
- parent: If a subsidiary, include the parent company.
- status: legal status, or active. Use defunct with end date for closed publishers.
- traded_as: The stock exchange(s) and stock ticker symbol(s) of publicly traded companies, using stock ticker templates. Information about the company's status as a component of a major index can also be added. If there is more than one entry, use
{{ubl}}to format the entries. A list of available stock ticker symbol templates is available at Category:Ticker symbol templates.
Examples:{{NYSE|DLB}}OR{{ubl|{{NASDAQ|MSFT}}|{{SEHK|4338}}|[[Dow Jones Industrial Average]] component|[[NASDAQ-100]] component|[[S&P 500]] component}} - founded: Year the company was started, if known. Use the template {{Start date}}, as in {{Start date|YEAR OF FOUNDING}}
- founder: Name of the founder(s); wikilink if possible.
- country: Include the country where the publisher is based. Do not use flag icons, as this places an unnecessary emphasis on nationality; see MOS:FLAG for a detailed rationale.
- headquarters: City where the headquarters of the publisher are located (do not use the headquarters of the parent company, that will be specified on the parent company's page).
- distribution: The distribution of the publisher, where its books are sold. Use regional if local distribution only, national if distribution is to an entire country, international if distribution is to multiple countries, and worldwide if it distributes books to anywhere on Earth.
- publications: to indicate the types of publications, such as books, magazines or scientific journals.
- topics:Specify non-fiction topics, such as medicine, science, social sciences, psychology; the level of detail depends on the breadth covered by the publisher.
- genre: If the publisher publishes fiction, specify the genre.
- imprints: If the company has a small number of imprints, list them. Otherwise, list them in the body text with a heading of ==Imprints== and link to it using a within-page link - [[#Imprints|Many]] produces Many and will automatically link to the imprints section heading.
- website or url: Specify the official website. Use {{URL}}. If not specified, the infobox will display the Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P856) property from the publisher's Wikidata entry, when available (see Oxford University Press for an example). To prevent the display of the URL from Wikidata, specify
|website=noneor|url=none.
Example
| Example publisher logo Example publisher logo | |
| Parent company | Awesome Distributions Inc. |
|---|---|
| Status | Active |
| Traded as | n/a |
| Predecessor | Predecessor company |
| Founded | 1990 |
| Founder | Awesome Q. Publisher |
| Defunct | n/a |
| Successor | n/a |
| Country of origin | United States |
| Headquarters location | New York City |
| Distribution | Worldwide |
| Key people | Jane Doe, CEO |
| Publication types | Books and magazines |
| Nonfiction topics | Science |
| Fiction genres | Science fiction |
| Imprints |
|
| Revenue | Template:USD billion (2013) |
| Owner(s) | Owner |
| No. of employees | 500 |
| Official website | Template:URL |
{{Infobox publisher
| name = Awesome Fiction
| image = Bad Title Example.png
| image_size = 100px
| alt = Example publisher logo
| caption = Example publisher logo
| parent = Awesome Distributions Inc.
| status = Active
| traded_as = n/a
| predecessor = Predecessor company
| founded = {{Start date|1990}}
| founder = Awesome Q. Publisher
| defunct = n/a
| successor = n/a
| country = [[United States]]
| headquarters = [[New York City]]
| distribution = Worldwide
| keypeople = Jane Doe, CEO
| publications = Books and magazines
| topics = Science
| genre = [[Science fiction]]
| imprints = {{unbulleted list | Awescience (science) | Awescifi (science fiction) }}
| revenue = {{USD|1}} billion (2013)
| owner = Owner
| numemployees = 500
| website = {{URL|example.com}}
}}
Microformat
TemplateData
TemplateData for Infobox publisher
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | Unknown | optional |
| Image | image | no description | Unknown | optional |
| Image size | image size | no description | Unknown | optional |
| Imagesize | imagesize | no description | Unknown | optional |
| Image_upright | image_upright | no description | Unknown | optional |
| Alt | alt | no description | Unknown | optional |
| Image caption | image caption | no description | Unknown | optional |
| Caption | caption | no description | Unknown | optional |
| Parent | parent | no description | Unknown | optional |
| Status | status | no description | Unknown | optional |
| Traded_as | traded_as | no description | Unknown | optional |
| Nasdaq | nasdaq | no description | Unknown | optional |
| Predecessor | predecessor | no description | Unknown | optional |
| Founded | founded | no description | Unknown | optional |
| Founder | founder founders | no description | Unknown | optional |
| Defunct | defunct dissolved | no description | Unknown | optional |
| Successor | successor | no description | Unknown | optional |
| Country | country | no description | Unknown | optional |
| Headquarters | headquarters | no description | Unknown | optional |
| Distribution | distribution | no description | Unknown | optional |
| Keypeople | keypeople | no description | Unknown | optional |
| Publications | publications | no description | Unknown | optional |
| Topics | topics | no description | Unknown | optional |
| Genre | genre | no description | Unknown | optional |
| Imprints | imprints | no description | Unknown | optional |
| Revenue | revenue | no description | Unknown | optional |
| Owner | owner | no description | Unknown | optional |
| Numemployees | numemployees | no description | Unknown | optional |
| Website | website url | no description | Unknown | optional |
Tracking category
See also
- {{Infobox book}}
Template:Organization infoboxes