Difference between revisions of "Template:Infobox newspaper/sandbox"
imported>DASHBot m (Bot: Bypassing redirects in navboxes, in order to improve article navigability;details/shutoff) |
imported>Sdkb m (fix) |
||
| (27 intermediate revisions by 10 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{Infobox | |
| − | < | + | |italic title={{{italic title|<noinclude>no</noinclude>}}} |
| − | </noinclude> | + | | bodyclass = vcard |
| − | + | | titleclass = fn org | |
| − | + | | title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | |
| − | | {{{ | + | | titlestyle = font-style: italic |
| − | | {{ | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|sizedefault=250x50px|border={{{logo_border|}}}|alt={{{logo_alt|}}}}} |
| − | } | + | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|border={{{image_border|}}}|alt={{{image_alt|}}}}} |
| − | { | + | | caption2 = {{{caption|}}} |
| − | + | | subheader = {{{motto|}}} | |
| − | | | + | | label1 = Type |
| − | }}{{ | + | | data1 = {{{type|}}} |
| − | # | + | | label2 = Format |
| − | | | + | | data2 = {{{format|}}} |
| − | + | | label3 = School | |
| − | | | + | | data3 = {{{school|}}} |
| − | + | | label4 = Owner(s) | |
| − | + | | data4 = {{{owners|{{{owner|}}}}}} | |
| − | + | | label5 = Founder(s) | |
| − | + | | data5 = {{{founders|{{{founder|}}}}}} | |
| − | + | | label6 = Publisher | |
| − | {{ | + | | data6 = {{{publisher|}}} |
| − | + | | label7 = President | |
| − | | | + | | class7 = agent |
| − | + | | data7 = {{{president|}}} | |
| − | + | | label8 = Editor-in-chief | |
| − | | | + | | class8 = agent |
| − | + | | data8 = {{{chiefeditor|}}} | |
| − | + | | label9 = Editor | |
| − | | | + | | class9 = agent |
| − | + | | data9 = {{{editor|}}} | |
| − | #if: {{{ | + | | label10 = Deputy editor |
| − | | | + | | class10 = agent |
| − | }} | + | | data10 = {{{depeditor|}}} |
| − | + | | label11 = Associate editor | |
| − | | | + | | class11 = agent |
| − | + | | data11 = {{{assoceditor|}}} | |
| − | + | | label12 = {{#if:{{{maneditors|}}}|Managing editors|Managing editor}} | |
| − | | | + | | class12 = agent |
| − | + | | data12 = {{{maneditors|{{{maneditor|}}}}}} | |
| − | + | | label13 = General manager | |
| − | | | + | | class13 = agent |
| − | + | | data13 = {{{generalmanager|}}} | |
| − | + | | label14 = News editor | |
| − | | | + | | class14 = agent |
| − | + | | data14 = {{{newseditor|}}} | |
| − | + | | label15 = Managing editor, design | |
| − | | | + | | class15 = agent |
| − | + | | data15 = {{{managingeditordesign|}}} | |
| − | + | | label16 = Director of Interactive | |
| − | | | + | | class16 = agent |
| − | + | | data16 = {{{dirinteractive|}}} | |
| − | #if: {{{ | + | | label17 = Campus editor |
| − | | | + | | class17 = agent |
| − | }}{{ | + | | data17 = {{{campuseditor|}}} |
| − | #if: {{{ | + | | label18 = Campus chief |
| − | | | + | | class18 = agent |
| − | }}{{ | + | | data18 = {{{campuschief|}}} |
| − | + | | label19 = Metro editor | |
| − | | | + | | class19 = agent |
| − | }} | + | | data19 = {{{metroeditor|}}} |
| − | {{ | + | | label20 = Metro chief |
| − | + | | class20 = agent | |
| − | | | + | | data20 = {{{metrochief|}}} |
| − | + | | label21 = Opinion editor | |
| − | + | | class21 = agent | |
| − | | | + | | data21 = {{{opeditor|}}} |
| − | + | | label22 = Sports editor | |
| − | + | | class22 = agent | |
| − | | | + | | data22 = {{{sportseditor|}}} |
| − | }} | + | | label23 = Photo editor |
| − | {{ | + | | class23 = agent |
| − | + | | data23 = {{{photoeditor|}}} | |
| − | | | + | | label24 = Staff writers |
| − | + | | data24 = {{{staff|}}} | |
| − | + | | label25 = {{{custom_label|}}} | |
| − | | | + | | class25 = agent |
| − | }}{{ | + | | data25 = {{#if:{{{custom_label|}}}|{{{custom|}}}}} |
| − | + | | label26 = {{#if:{{{launched|}}}|Launched|Founded}} | |
| − | | | + | | data26 = {{#if:{{{launched|}}}|{{{launched|}}}|{{{foundation|}}}}} |
| − | }} | + | | label27 = Political alignment |
| − | + | | data27 = {{if empty|{{{political|}}}|{{{political position|}}}}} | |
| − | | | + | | label28 = Language |
| − | + | | data28 = {{{language|}}} | |
| − | #if: {{{ | + | | label29 = {{nowrap|Ceased publication}} |
| − | | | + | | data29 = {{{ceased publication|}}} |
| − | + | | label30 = Relaunched | |
| − | }} | + | | data30 = {{{relaunched|}}} |
| + | | label31 = Headquarters | ||
| + | | class31 = label | ||
| + | | data31 = {{{headquarters|}}} | ||
| + | | label32 = City | ||
| + | | data32 = {{{publishing_city|}}} | ||
| + | | label33 = Country | ||
| + | | data33 = {{{publishing_country|}}} | ||
| + | | label34 = [[Newspaper circulation|Circulation]] | ||
| + | | data34 = {{{circulation|}}}{{#if:{{{circulation_date|}}}|  (as of {{{circulation_date}}}) }}{{{circulation_ref|}}} | ||
| + | | label35 = Readership | ||
| + | | data35 = {{{readership|}}} | ||
| + | | label36 = Sister newspapers | ||
| + | | data36 = {{{sister newspapers|}}} | ||
| + | | label37 = [[International Standard Serial Number|ISSN]] | ||
| + | | data37 = {{ISSN link|1={{{issn|{{{ISSN|}}}}}}|2={{{eissn|{{{eISSN|}}}}}}}} | ||
| + | | label38 = [[OCLC (identifier)|OCLC]] number | ||
| + | | data38 = {{#if:{{{oclc|}}}|{{OCLC search link|{{{oclc}}} }} }} | ||
| + | | label39 = [[Registrar of Newspapers for India|RNI]] | ||
| + | | class39 = agent | ||
| + | | data39 = {{{RNI|}}} | ||
| + | | label40 = Website | ||
| + | | data40 = {{{website|}}} | ||
| + | | label41 = Free online archives | ||
| + | | class41 = agent | ||
| + | | data41 = {{{free|}}} | ||
| + | | below = {{#if:{{{publishing_country|}}} | {{ubl |style=line-height:1.3em; padding-top:0.4em; border-top: 1px solid #aaa | ||
| + | | {{#ifexist: Media of the {{delink|{{{publishing_country}}} }} | [[Media of the {{delink|{{{publishing_country}}} }}]] | {{#ifexist: Media of {{delink|{{{publishing_country}}} }} | [[Media of {{delink|{{{publishing_country}}} }}]] }} }} | ||
| + | | {{#ifexist: List of newspapers in the {{delink|{{{publishing_country}}} }} | [[List of newspapers in the {{delink|{{{publishing_country}}} }}|List of newspapers]] | {{#ifexist: List of newspapers in {{delink|{{{publishing_country}}} }} | [[List of newspapers in {{delink|{{{publishing_country}}} }}|List of newspapers]] }} }} | ||
| + | }} }} }}{{#invoke:Check for unknown parameters|check|ignoreblank=y | ||
| + | |unknown={{main other|[[Category:Pages using infobox newspaper with unknown parameters|_VALUE_{{PAGENAME}}]]}} | ||
| + | |preview=Page using [[Template:Infobox newspaper]] with unknown parameter "_VALUE_" | ||
| + | |assoceditor | ||
| + | |campuschief|campuseditor |caption |ceased publication |chiefeditor |circulation|circulation_date|circulation_ref|custom|custom_label | ||
| + | |depeditor |dirinteractive | ||
| + | |editor | ||
| + | |format |foundation|founder|founders |free | ||
| + | |generalmanager | ||
| + | |headquarters | ||
| + | |image|image_alt|image_border|image_size |issn |ISSN |eissn |eISSN |italic title | ||
| + | |language |launched |logo|logo_alt|logo_border|logo_size | ||
| + | |managingeditordesign|maneditor|maneditors |metrochief|metroeditor |motto | ||
| + | |name |newseditor | ||
| + | |oclc |opeditor |owner|owners | ||
| + | |photoeditor |political | political position |president |publisher|publishing_city|publishing_country | ||
| + | |readership |relaunched |RNI | ||
| + | |school |sister newspapers |sportseditor |staff | ||
| + | |type | ||
| + | |website | ||
| + | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
| − | <!-- Add | + | <!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> |
</noinclude> | </noinclude> | ||
Latest revision as of 01:40, 21 October 2020
| Political alignment | Script error: No such module "If empty". |
|---|
| This is the template sandbox page for Template:Infobox newspaper (diff). See also the companion subpage for test cases. |
This infobox should italicize the article title automatically. If this is not required, add |italic title=no to the list of parameters. If this is required but the title is not being italicized, try |italic title=force. |
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
| This template uses Lua: |
Usage
Template:Parameter names example
{{Infobox newspaper
| name =
| logo =
| logo_size =
| logo_border =
| logo_alt =
| image =
| image_size =
| image_border =
| image_alt =
| caption =
| motto =
| type =
| format =
| school =
| owner = <!-- or |owners= -->
| founder = <!-- or |founders= -->
| publisher =
| president =
| generalmanager =
| chiefeditor =
| editor =
| depeditor =
| assoceditor =
| maneditor = <!-- or |maneditors= -->
| newseditor =
| managingeditordesign =
| dirinteractive =
| campuseditor =
| campuschief =
| metroeditor =
| metrochief =
| opeditor =
| sportseditor =
| photoeditor =
| staff =
| custom_label =
| custom =
| foundation = <!-- or |launched= --><!-- Use: {{start date and age|YYYY|MM|DD}} or {{start date|...}}, if ceased -->
| political =
| language =
| ceased publication = <!-- Use: {{end date|YYYY|MM|DD}} -->
| relaunched =
| headquarters =
| publishing_city =
| publishing_country =
| circulation =
| circulation_date =
| circulation_ref =
| readership =
| sister newspapers =
| ISSN =
| eISSN =
| oclc =
| RNI =
| website =
| free =
}}
Parameters
All parameters are optional. If no value is specified for the parameter, it will not be displayed.
- name – name of the newspaper. If this is omitted (not just left blank), it will be inferred from the article title.
- logo – image (logo or other), use with logo_size (default is 250x50px) and logo_alt.
- image – image (front page or other), use with image_size (default is 220px) and image_alt.
- caption – caption text to be displayed below image
- motto – motto of newspaper
- type – frequency and type, i.e. Daily newspaper
- format – page format, i.e. Broadsheet, Berliner, Tabloid, Compact
- school – for school newspapers
- owner – or owners, name of the company, person or family which owns the newspaper
- founder – or founders, name of the company or person who founded or directs the newspaper, if
|owner=is not appropriate (for instance, in the case of some nonprofits) - publisher – name of Publisher
- president – name of President
- generalmanager – name of General Manager
- chiefeditor – name of Editor-in-Chief
- editor – name of Editor
- depeditor – name of Deputy Editor
- assoceditor – name of Associate Editor
- maneditor – or maneditors, name of Managing Editor or Editors
- newseditor – name of News Editor
- managingeditordesign – name of Managing Editor, Design
- dirinteractive – name of Director of Interactive
- campuseditor – name of Campus Editor
- campuschief – name of Campus Chief
- metroeditor – name of Metro Editor
- metrochief – name of Metro Chief
- opeditor – name of Opinion Editor
- sportseditor – name of Sports Editor
- photoeditor – name of Photo Editor
- staff – names of Staff writers
- custom_label – position for person with a custom title (must use with
|custom=) - custom – person with a custom title (must use with
|custom_label=) - foundation – or launched date newspaper was founded. Use {{Start date}} or {{start date and age}}
- political – political leanings of the newspaper, e.g. Centre-right, cited to a reliable source. For use only when a newspaper has formally aligned its news coverage with a political party or movement. Do not use the infobox for allegations of bias or descriptions of the opinion page.
- language – language used in the newspaper, usually omitted, if English
- ceased publication – date that a former newspaper ceased publication. Use {{End date}}
- relaunched – date that a newspaper was relaunched
- headquarters – location of the newspaper's headquarters
- publishing_city – city of publication
- publishing_country – unlinked country of publication
- circulation – the newspaper circulation numbers
- circulation_date – the date or period of the newspaper circulation numbers
- circulation_ref – a
<ref>tag indicating the source of the value of|circulation=and/or|circulation_date= - readership – readership
- sister newspapers – names of any sister newspapers
- ISSN – the newspaper's ISSN, e.g. 1085-6706 (automatically linked to https://www.worldcat.org via {{ISSN link}}). Search here or here to find an ISSN
- eISSN – the newspaper's electronic ISSN, e.g. 2165-171X (automatically linked to https://www.worldcat.org via {{ISSN link}}).
- oclc – the newspaper's OCLC number, useful where an ISSN has not been allocated (automatically linked to https://www.worldcat.org)
- RNI – the Office of the Registrar of Newspapers for India number
- website – the newspaper's website, use {{URL}}, i.e.
{{URL|www.latimes.com}} - free – the newspaper's online free archives
Example
| Type | Daily newspaper |
|---|---|
| Format | Broadsheet |
| Owner(s) | Tribune Publishing |
| Founder(s) | James Kelly, John E. Wheeler and Joseph K. C. Forrest |
| Editor-in-chief | Colin McMahon |
| Managing editor | Christine Wolfram Taylor |
| General manager | Par Ridder |
| Opinion editor | Kristen McQueary |
| Sports editor | Amanda Kaschube |
| Photo editor | Todd Panagopoulos |
| Founded | Template:Start date and age |
| Political alignment | Script error: No such module "If empty". |
| Language | English |
| Headquarters | Template:Ubl |
| Country | United States |
| Circulation | Template:Ubl (as of March 31, 2013) |
| ISSN | 1085-6706 (print) 2165-171X (web) |
| OCLC number | Template:OCLC search link |
| Website | Template:URL |
| Template:Ubl | |
{{Infobox newspaper
| name = Chicago Tribune
| logo = Chicago Tribune Logo.svg
| logo_alt = Logo of the Chicago Tribune
| image = Chicagotribunejune162009.png
| image_size = 180px
| image_alt = Front page of Chicago Tribune on June 16, 2009
| type = Daily newspaper
| format = [[Broadsheet]]
| owner = [[Tribune Publishing]]
| founders = [[James Kelly (journalist)|James Kelly]], John E. Wheeler and Joseph K. C. Forrest
| publisher =
| president =
| generalmanager = Par Ridder
| chiefeditor = Colin McMahon
| editor =
| depeditor =
| assoceditor =
| maneditor = Christine Wolfram Taylor
| newseditor =
| managingeditordesign =
| dirinteractive =
| metroeditor =
| metrochief =
| opeditor = Kristen McQueary
| sportseditor = Amanda Kaschube
| photoeditor = Todd Panagopoulos
| staff =
| foundation = {{Start date and age|1847|06|10}}
| political =
| language = [[English language|English]]
| headquarters = {{ubl|160 North Stetson Avenue|Chicago, Illinois 60601}}
| publishing_country = United States
| circulation = {{ubl|448,930 daily|331,190 Saturday|853,324 Sunday}}
| circulation_date = March 31, 2013
| circulation_ref =
| readership =
| sister newspapers =
| ISSN = 1085-6706
| eISSN = 2165-171X
| oclc = 7960243
| website = {{URL|https://www.chicagotribune.com/}}
}}
This example has been modified for display purposes.
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See the monthly parameter usage report for this template.
TemplateData for Infobox newspaper This templates generates an infobox to summarize information about a newspaper.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Tracking category
See also
- {{Infobox journal}}
- {{Infobox magazine}}
- {{ISSN}}
- {{ISSN link}}
- {{OCLC}}
- {{OCLC search link}}
Template:Organization infoboxes
| The above documentation is transcluded from Template:Infobox newspaper/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |