|
![]() | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
![]() | This is the template sandbox page for Template:Selected publication (diff). |
This template is used to format the articles found in the Selected publication sub-page found on some Wikipedia Portal main pages. Use it on the article pages that are linked to the Selected publication sub-page, e.g. Portal:Foo/Selected publication/1. For the quickest and easiest way to create the Portal:Foo/Selected bar sub-page and related article links, use one of the {{Numbered subpages}} templates.
Template layout
edit{{Selected publication
| image =
| size =
| side =
| caption =
| title =
| comic =
| author =
| artist =
| publisher =
| page = <!--- Required --->
| text = <!--- Required --->
| link = <!--- Required --->
}}
Usage
editIt is unnecessary to include braces, quotation marks or other wiki-markup in the template. The |text= field does allow the use of wiki-markup at the contributor's discretion.
- image - Places an image relating to the subject of the article on the left side of the section.
- size - Sets the image size, if left out or left blank it will default to 150px. Values must be entered xxxpx.
- side - this field sets the alignment of the image; acceptable values are right or center.
- caption - Creates a caption for the image.
- title - the title of the work, it will automatically italicize it
- comic - a "yes" in this field will add the option to include an artists name
- author - the creator of the work
- editor - a "yes" in this field will change the By to Edited by in the author field. It will not work if the comic switch is set to yes.
- artist - The artist of the work, it will only work if the |comic= field is set to yes
- publisher- the publisher name is listed here
- page - is used to set the page that the product list resides on, e.g. |name=comic would set the More selected publications link to look for the sub-pages at Portal:Foo/Selected comic as well as setting the text of the link to More selected comics. Do not pluralize!
- text - A brief summary of the subject.
- link - sets the link in the Read more... that points to the full article.
Example
editGeneric
edit{{Selected publication
| image = File:Time Cover in 1924-08-25.JPG
| side = left
| caption = The cover shows the 1923 U.S. Women's Amateur Champion, Edith Cummings.
| title = Time
| publisher = [[Time Warner]]
| text = '''''Time''''' (trademarked in capitals as '''''TIME''''') is an American [[news magazine]]...
| link = Time (magazine)
}}
will produce:
Time
Publisher Time Warner
Time (trademarked in capitals as TIME) is an American news magazine, similar to Newsweek and U.S. News & World Report. A European edition (Time Europe, formerly known as Time Atlantic) is published from London. Time Europe covers the Middle East, Africa and, since 2003, Latin America. An Asian edition (Time Asia) is based in Hong Kong. As of 2009, Time no longer publishes a Canadian advertiser edition. The South Pacific edition, covering Australia, New Zealand and the Pacific Islands, is based in Sydney. In some advertising campaigns, the magazine has suggested that, through a bacronym, the letters T-I-M-E stand for The International Magazine of Events. (Full article...)
Comic
edit{{Selected publication
| image =
| caption = The movie version of the Batmobile
| title = [[Batman]]
| comic = yes
| creator = [[Bob Kane]], [[Bill Finger]]
| author = [[Dennis O'Neil]]
| artist = [[Frank Miller (comics)|Frank Miller]]
| publisher = [[DC Comics]]
| page = comics
| text = '''Batman''' (originally referred to as '''the Bat-Man''' and still referred to at times as '''the Batman''') ...
| link = Batman
}}
will produce
Batman
created by Bob Kane, Bill Finger
written by Dennis O'Neil
drawn by Frank Miller
Publisher DC Comics
Batman (originally referred to as the Bat-Man and still referred to at times as the Batman) is a fictional character, a comic book superhero co-created by artist Bob Kane and writer Bill Finger (although only Kane receives official credit), appearing in publications by DC Comics. The character first appeared in Detective Comics #27 in May 1939. Batman's secret identity is Bruce Wayne, a wealthy industrialist, playboy, and philanthropist. Witnessing the murder of his parents as a child, Wayne trains himself both physically and intellectually and dons a bat-themed costume in order to fight crime. Batman operates in the fictional American Gotham City, assisted by various supporting characters including his sidekick Robin and his butler Alfred Pennyworth, and fights an assortment of villains influenced by the characters' roots in film and pulp magazines. Unlike most superheroes, he does not possess any superpowers; he makes use of intellect, detective skills, science and technology, wealth, physical prowess, and intimidation in his war on crime. (Full article...)
See also
editPortal content templates
- To display "selected content" on the portal main page
- {{Transclude list item excerpts as random slideshow}}—transcludes excerpts from recognized content lists, which are populated by a bot.
- {{Transclude random subpage}}—transcludes random portal subpage.
- {{Random portal component}}—transcludes random portal subpage.
- {{Random subpage}}—transcludes random portal subpages.
- {{Portal pictures}}—transcludes a slideshow of pictures, utilizing a single-page gallery.
- To organize "selected content" on subpages
- {{Numbered subpages}}—outputs an automatic index, transcluding numbered subpages.
- {{Portal subpage}}—outputs a box linking to and transcluding a single subpage.
- {{Portal subpage inline}}—outputs an unordered list item linking to and transcluding a single subpage.
Main portal page formatting templates
- {{Box-header}}
- {{Box-header-plain}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Box-footer}}
Templates that configure links
- {{Portal}}
- {{Portal bar}}
- {{Portal-inline}}
- {{Pbox}}
- {{Portals}}
- {{Portals browsebar}}
- {{Related portals}}
- {{Wikimedia for portals}}
Selected page templates, used on subpages of older portals
- {{Selected article}}
- {{Selected biography}}
- {{Selected business}}
- {{Selected DYK}}
- {{Selected ingredient}}
- {{Selected location}}
- {{Selected picture}}
- {{Selected product}}
- {{Selected publication}}
- {{Selected quote}}
- {{Selected recipe}}
- {{Selected X}}
Related templates