সাঁচ:Header: বিভিন্ন সংশোধনসমূহৰ মাজৰ পাৰ্থক্য

ৱিকিউৎসৰ পৰা
Content deleted Content added
No edit summary
No edit summary
১ নং শাৰী: ১ নং শাৰী:
<!--
<!--
Text status badge (via Wikidata)
Begin headertemplate wrapper
-->{{#invoke:edition|badge|category=1|indicator=1}}<!--


Begin headerContainer wrapper
--><div id="headertemplate" class="headerRaw ws-noexport"><!--

--><div id="headerContainer" class="ws-noexport noprint"><!--


Make sure no parameters are removed
Make sure no parameters are removed
১৩ নং শাৰী: ১৬ নং শাৰী:
|{{{previous|undef!}}}
|{{{previous|undef!}}}
|{{{next|undef!}}}
|{{{next|undef!}}}
|{{{notes|undef!}}} = <div style="margin-right:auto; margin-left:auto; border-top:1px solid #CCC; border-right:1px solid #CCC; border-bottom:1px solid #hidden; border-left:1px solid #CCC; text-align:center;"><span class="error" style="font-size:90%; font-weight:bold;">template error: please do not remove empty parameters (see the [[WS:STYLE#Templates|style guide]] and [[Template:Header#documentation|template documentation]]).</span></div>{{#ifeq:{{NAMESPACE}}||[[শ্ৰেণী:Headers missing parameters]]|}}}}</includeonly><!--
|{{{notes|undef!}}} = <div style="margin-right:auto; margin-left:auto; border-top:1px solid #CCC; border-right:1px solid #CCC; border-bottom:1px hidden transparent; border-left:1px solid #CCC; text-align:center;"><span class="error" style="font-size:90%; font-weight:bold;">template error: please do not remove empty parameters (see the [[WS:STYLE#Templates|style guide]] and [[Template:Header#documentation|template documentation]]).</span></div><!--


Also add a tracking শ্ৰেণী:
-->{{#ifeq:{{NAMESPACE}}||[[শ্ৰেণী:Headers missing parameters]]|}}<!--


-->}}<!--end switch--></includeonly><!--
Begin navigation header-->
{| class="headertemplate" style="border-collapse:collapse; empty-cells:hide;"
|-<!--


Begin navigation header

faux TABLE-->
<div id="navigationHeader" class="headertemplate" style="display:table; border-collapse:collapse; border-spacing:0px 0px; empty-cells:hide; border:1px solid #ACA; margin:0px auto 4px auto; width:100%;"><!--

faux TBODY-->
<div style="display:table-row-group; background-color:#E6F2E6;"><!--

faux TR-->
<div style="display:table-row;"><!--

faux TD left
Previous page link-->
Previous page link-->
|class="gen_header_backlink" | {{#if:{{{previous|}}}|<span id="headerprevious">←{{{previous}}}</span>}}<!--
<div class="gen_header_backlink searchaux" style="display:table-cell; text-align:left; vertical-align:middle; width:20%;"><!--


-->{{#if:{{{previous|}}}|<span class="searchaux" id="headerprevious">←{{{previous}}}</span>}}<!--

close faux TD left-->
</div><!--

faux TD center
Title-->
Title-->
|class="gen_header_title" | '''<span id="header_title_text">{{{title|Untitled}}}</span>''' <!--
<div class="gen_header_title" style="display:table-cell; text-align:center; width:60%;"><!--

-->'''<span id="header_title_text">{{{title|Untitled}}}</span>''' <!--


Year-->{{#if:{{{year|}}}{{{override_year|}}}<!--
Year-->{{#if:{{{year|}}}{{{override_year|}}}<!--
৪৪ নং শাৰী: ৬৭ নং শাৰী:


Author field
Author field
-->{{#if:{{{override_author|}}}|<!--
-->{{#if:{{{override_author|{{{override author|}}}}}}|<!--


Override author
Override author
--><br /><i><span id="header_author_text" class="vcard"><span class="fn">{{{override_author}}}</span></span></i>|<!--
--><br /><i><span id="header_author_text" class="vcard"><span class="fn">{{{override_author|{{{override author|}}}}}}</span></span></i>|<!--


Normal author
Normal author
৫৭ নং শাৰী: ৮০ নং শাৰী:


Catch unknown authors
Catch unknown authors
-->{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|<span id="header_author_text">অজ্ঞাত</span>|<!--
-->{{#ifeq:{{lc:{{{override_author|{{{override author|{{{author|}}}}}}}}}}}|unknown|<span id="header_author_text">Unknown</span>|<!--


Link known authors to the author namespace
Link known authors to the author namespace
-->{{#ifexist: লেখক:{{{author}}} || [[শ্ৰেণী:লেখক-পৃষ্ঠা নথকা কাৰ্যসমূহ]] }} [[লেখক:{{{author}}}|<span id="header_author_text" class="vcard"><span class="fn">{{{author}}}</span></span>]]}}</i>}}}}<!--
-->{{#ifexist: লেখক:{{{author}}} || <!-- only required main and translation ns:-->
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[শ্ৰেণী:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}} [[লেখক:{{{author}}}|<span id="header_author_text" class="vcard"><span class="fn">{{{author}}}</span></span>]]}}</i>}}}}<!--


Editor field - only if needed
Editor field - only if needed
৭৪ নং শাৰী: ১০১ নং শাৰী:
-->|#default=<i>{{#if:{{{author|}}}{{{override_author|}}}|,&#32;}}<!--
-->|#default=<i>{{#if:{{{author|}}}{{{override_author|}}}|,&#32;}}<!--
-->{{#if:{{{author|}}}{{{override_author|}}}||{{#if:{{{section|}}}||<br>}}}} edited by <!--
-->{{#if:{{{author|}}}{{{override_author|}}}||{{#if:{{{section|}}}||<br>}}}} সম্পাদক: <!--


--><span id="header_editor_text" class="vcard"><!--
--><span id="header_editor_text" class="vcard"><!--
--><span class="fn">{{#if:{{{override_editor|}}}|{{{override_editor}}}|[[Author:{{{editor}}}|{{{editor}}}]]}}</span></span><!--
--><span class="fn">{{#if:{{{override_editor|}}}|{{{override_editor}}}|{{#ifexist: লেখক:{{{editor}}} || <!-- only required main and translation ns:-->
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[শ্ৰেণী:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}}[[লেখক:{{{editor}}}|{{{editor}}}]]}}</span></span><!--
--></i>}}<!--
--></i>}}<!--
-->}}<!--
-->}}<!--
৮৬ নং শাৰী: ১১৭ নং শাৰী:
Catch special cases for translators
Catch special cases for translators
-->{{#switch:{{lc:{{{override_translator|{{{translator|}}}}}}}}<!--
-->{{#switch:{{lc:{{{override_translator|{{{translator|}}}}}}}}<!--
-->| ? =&nbsp;([[:শ্ৰেণী:Deletion requests/Unknown translators|unknown translator]])<!--
-->| unknown =, ''unknown translator''<!--
-->| not mentioned =, ''translator not mentioned''<!--
-->| not mentioned =, ''translator not mentioned''<!--
-->| wikisource =<i>, translated by [[Wikisource:Translations|<span id="header_translator_text">Wikisource</span>]]</i><!--
-->| wikisource =<i>, অনুবাদক: [[ৱিকিউৎস:অনুবাদ|<span id="header_translator_text">ৱিকিউৎস</span>]]</i><!--


If it is the base page, add to the "Wikisource translation" category
If it is the base page, add to the "Wikisource translation" category
-->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[শ্ৰেণী:Wikisource translations]]}}<!--
-->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[শ্ৰেণী:Wikisource translations]]}}<!--

-->| ? =&nbsp;([[:শ্ৰেণী:Deletion requests/Unknown translators|unknown translator]]){{No translator info}}<!--
-->| unknown =, ''unknown translator''{{No translator info}}<!--


Switch default - the given translator
Switch default - the given translator
-->|<i>, অনুবাদক: <!--
-->|#default =<i>{{#if:{{{author|}}}{{{override_author|}}}{{{override_editor|}}}{{{editor|}}}|,&#32;}}অনুবাদক: <!--


Override translator if needed
Override translator if needed
-->{{{override_translator|<!--
-->{{{override_translator|<!--


-->[[Author:{{{translator}}}|<!--
-->{{#ifexist: লেখক:{{{translator}}} || <!-- only required main and translation ns:-->
{{#switch: {{NAMESPACENUMBER}}
--><span id="header_translator_text" class="vcard"><span class="fn">{{{translator}}}</span></span>]]</i>}}}
| 0
}}}}<!--
| 114=[[শ্ৰেণী:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}} [[লেখক:{{{translator}}}|<!--
--><span id="header_translator_text" class="vcard"><span class="fn">{{{translator}}}</span></span>]]}}}<!--
--></i>}}<!--
-->}}<!--


Section field
Section field
-->{{#if:{{{section|}}}|<br /><span id="header_section_text">{{{section|}}}</span><!--
-->{{#if:{{{section|}}}|<br /><span id="header_section_text">{{{section|}}}</span><!--

first part of section_translator, adds a line return to split to two lines due to length if section translator exists

-->{{#if:{{{override_section_translator|}}}{{{section_translator|}}}|<br />}}<!--


Section author
Section author
-->{{#if:{{{override_contributor|}}}{{{contributor|}}}|<!--
-->{{#if:{{{override_section_author|{{{override_contributor|}}}}}}{{{contributor|{{{section_author|}}}}}}|<!--
--><i> by <span id="header_contributor_text" class="vcard"><!--
--><i> by <span id="header_contributor_text" class="vcard"><!--
--><span class="fn">{{#if:{{{override_contributor|}}}|{{{override_contributor}}}|[[Author:{{{contributor}}}|{{{contributor}}}]]}}</span><!--
--><span class="fn">{{#if:{{{override_section_author|{{{override_contributor|}}}}}}|{{{override_section_author|{{{override_contributor|}}}}}}|{{#ifexist: লেখক:{{{contributor|{{{section_author}}}}}} || <!-- only required main and translation ns:-->
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[শ্ৰেণী:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}}[[লেখক:{{{contributor|{{{section_author}}}}}}|{{{contributor|{{{section_author}}}}}}]]}}</span></span><!--
--></i>}}<!--
Section translator
-->{{#if:{{{override_section_translator|}}}{{{section_translator|}}}|<!--
--><i>, অনুবাদক: <span id="header_section_translator_text" class="vcard"><!--
--><span class="fn">{{#if:{{{override_section_translator|}}}|{{{override_section_translator|}}}|{{#ifexist: লেখক:{{{section_translator|}}} || <!-- only required main and translation ns:-->
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[শ্ৰেণী:Works with non-existent author pages]]
| #default = }}<!-- end of switch -->}}[[লেখক:{{{section_translator|}}}|{{{section_translator|}}}]]}}</span></span><!--
--></i>}}<!--
--></i>}}<!--


১১৬ নং শাৰী: ১৭০ নং শাৰী:
-->}}<!--
-->}}<!--


close faux TD center-->
Forelink -->
</div><!--
|class="gen_header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}→</span>}}

|}<!--
faux TD right
Forelink-->
<div class="gen_header_forelink searchaux" style="display:table-cell; text-align:right; vertical-align:middle; width:20%;">{{#if:{{{next|}}}|<span class="searchaux" id="headernext">{{{next}}}→</span>}}<!--

close faux TD right-->
</div><!--

close faux TR-->
</div><!--

close faux TBODY-->
</div><!--

close faux table-->
</div><!--

Notes section

faux TABLE-->
<div id="navigationNotes" class="header_notes searchaux" style="display:table; border-collapse:collapse; border-spacing:0px 0px; empty-cells:hide; border-bottom:1px solid #A0A0A0; font-size:0.90em; line-height:1.4; margin:0px auto 4px auto; width:100%;"><!--

faux TBODY-->
<div style="display:table-row-group; background-color:#FAFAFF;"><!--

faux TR-->
<div style="display:table-row;"><!--


faux TD-->
<div class="searchaux" style="display:table-cell;"><!--


check if page is connected to Wikidata (#ifeq)
Notes section-->
-->{{#ifeq:{{#invoke:Wikibase|id}}|no entity<!--
{| class="header_notes" style="border-collapse:collapse;"
|-
|<!--


if page is not connected to Wikidata, only show plain sister if at least one of its parameters is filled in
Sister project links (only #if we need them)
-->{{#if:<!--
-->|{{#if:<!--
-->{{{disambiguation|}}}<!--
-->{{{disambiguation|}}}<!--
-->{{{edition|}}}<!--
-->{{{edition|}}}<!--
১৪৬ নং শাৰী: ২২৬ নং শাৰী:
-->{{{meta|}}}<!--
-->{{{meta|}}}<!--


-->|<!--
-->|<!--


-->{{Plain sister<!--
-->{{Plain sister<!--
-->| disambiguation = {{{disambiguation|}}}<!--
-->| disambiguation = {{{disambiguation|}}}<!--
-->| edition = {{{edition|}}}<!--
-->| edition = {{{edition|}}}<!--
১৬৬ নং শাৰী: ২৪৬ নং শাৰী:
-->| wikispecies = {{{wikispecies|}}}<!--
-->| wikispecies = {{{wikispecies|}}}<!--
-->| meta = {{{meta|}}}<!--
-->| meta = {{{meta|}}}<!--
-->}}<!--
-->}}<!--

end #if we need plain sister project links
-->}}<!--

if page is connected to Wikidata, always show plain sister
-->|{{Plain sister<!--
-->| disambiguation = {{{disambiguation|}}}<!--
-->| edition = {{{edition|}}}<!--
-->| portal = {{{portal|}}}<!--
-->| related_author = {{{related_author|}}}<!--
-->| wikipedia = {{{wikipedia|}}}<!--
-->| commons = {{{commons|}}}<!--
-->| commonscat = {{{commonscat|}}}<!--
-->| wikiquote = {{{wikiquote|}}}<!--
-->| wikinews = {{{wikinews|}}}<!--
-->| wiktionary = {{{wiktionary|}}}<!--
-->| wikibooks = {{{wikibooks|}}}<!--
-->| wikilivres = {{{wikilivres|}}}<!--
-->| wikidata = {{{wikidata|}}}<!--
-->| wikivoyage = {{{wikivoyage|}}}<!--
-->| wikiversity = {{{wikiversity|}}}<!--
-->| wikispecies = {{{wikispecies|}}}<!--
-->| meta = {{{meta|}}}<!--
-->}}<!--

end #ifeq
-->}}<!--
-->}}<!--


১৭৪ নং শাৰী: ২৭৮ নং শাৰী:


Notes from parameter
Notes from parameter
-->{{{notes}}}
-->{{{notes}}}<!--
|}<!--


close faux TD-->
END OF VISIBLE TEMPLATE
</div><!--


close faux TR-->
</div><!--

close faux TBODY-->
</div><!--

close faux TABLE-->
</div><!--

END OF VISIBLE TEMPLATE


MICROFORMAT DATA-->
MICROFORMAT DATA-->
২১৯ নং শাৰী: ৩৩৩ নং শাৰী:
-->}}<!--
-->}}<!--


END OF MICROFORMAT DATA-->
--></div><!--
</div><!--
END OF MICROFORMAT DATA


Subpages
--></div><!--
-->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
End headertemplate wrapper


Unknown translator
-->{{#switch:{{{translator}}}
|?
|unknown = {{No translator info}}
}}<!--

Subpages -->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
|{{#ifexist:{{#rel2abs:../}}|1}}
|{{#ifexist:{{#rel2abs:../}}|1}}
|{{#ifexist:{{#rel2abs:../../}}|1}}
|{{#ifexist:{{#rel2abs:../../}}|1}}
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[শ্ৰেণী:{{#if:{{NAMESPACE}}|{{NAMESPACE}} উপপৃষ্ঠা|উপপৃষ্ঠা}}]]
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[শ্ৰেণী:{{#if:{{NAMESPACE}}|{{NAMESPACE}} উপপৃষ্ঠা|উপপৃষ্ঠা}}]]
}}}}<!--
}}}}<!--

Categories
Categories:
-->{{#if:{{{categories|}}}
-->{{#if:{{{categories|}}}
|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{{categories}}}|([%w%s-]-)%s?/%s?|[[শ্ৰেণী:%1]]|plain=false}}|([%w%s-]-)$|[[শ্ৰেণী:%1]]|plain=false}}|%[%[শ্ৰেণী:%]%]||plain=false}}

}}<!--
|<!-- Replace each string that ends in a slash with a category definition.
This does include the final one because we're adding a slash to the input string.
-->{{#invoke:String|replace|{{{categories}}}/|([^/]+)/*|[[শ্ৰেণী:%1]]||plain=false }}<!--

-->}}<!--


Track pages using the author override
Track pages using the author override
-->{{#if:{{{override_author|}}}|[[শ্ৰেণী:Pages with override author]]}}<!--
-->{{#if:{{{override_author|}}}|[[শ্ৰেণী:Pages with override author]]}}<!--

Track pages using contributor / section_author
-->{{#if:{{{contributor|{{{section_author|}}}}}}|[[শ্ৰেণী:Pages with contributor]]}}<!--

Track pages using override_contributor / override_section_author
-->{{#if:{{{override_section_author|{{{override_contributor|}}}}}}|[[শ্ৰেণী:Pages with override contributor]]}}<!--


Track pages with no author given
Track pages with no author given
২৫৬ নং শাৰী: ৩৭২ নং শাৰী:
-->{{#if:{{{noyearcat|}}}|[[শ্ৰেণী:Pages with noyearcat]]}}<!--
-->{{#if:{{{noyearcat|}}}|[[শ্ৰেণী:Pages with noyearcat]]}}<!--


END OF NON-VISIBLE CONTENT
Protection level detection and automatic icon
--></includeonly><!--
-->{{#if:{{NAMESPACE}}

|<!-- no effect outside the main namespace -->
End headerContainer wrapper-->
|{{#if:{{PROTECTIONLEVEL:edit}}{{PROTECTIONLEVEL:move}}<!-- if page protected -->
</div><!--
|{{locked}}<!-- call the locked (top icon) template -->
}}
}}<!--


--><noinclude>
END OF TEMPLATE
--></includeonly><noinclude>
{{documentation|Template:Header/doc}}
{{documentation|Template:Header/doc}}
<!--[[শ্ৰেণী:Exclude in print]]-->
<!--[[শ্ৰেণী:Exclude in print]]-->

১৭:২৯, ১২ আগষ্ট ২০২০ৰ সংস্কৰণ

Template documentation[view] [edit] [history] [purge]


This template can be preloaded via the Gadgets, alternatively, one can preload Template:Header/preload

{{header
 | title      = 
 | author     = 
 | translator = 
 | section    = 
 | previous   = 
 | next       = 
 | year       = 
 | notes      = 
 | categories =
 | portal     =
}}

This template is meant to be used at the top of a work,[1] and its subsections. Fill in any relevant information, and leave unknown or inapplicable parameters empty. Don't remove unused parameters, as this will break the template and make bot maintenance difficult. For easy use, see also the header preloading script gadget in your preferences.

Documentation

Parameters

  • title = title of the work, for subpage use relative links
  • author = name of author, not wikilinked
  • editor = editor of the work, not wikilinked. Use override_editor for full control.
  • translator = name of translator, not wikilinked; or override_translator see Translations
  • section = name of subdivision of work, usually used on subpages
  • contributor = name of the author of this section, if not the same as author the overall work. Not wikilinked; use override_contributor if you need to specify the link target.
  • previous = name of previous part of work; relative links on subpages, full links otherwise
  • next = name of next part of work, relative links on subpages, full links otherwise
  • year = year of publication, adds work to the category for the year, see Category:Works by year.
    Enter "?" for a work with no known publication year, and leave blank if you simply don't have this information.
    Do not use AD or CE for any Anno Domini/Current Era works (year 1 to the present). Use BCE (do not use BC) for all years before year 1; leave a space between the number and the letters (e.g. 150 BCE).
    Approximate dates can be entered in one of the following ways:
    1. Decades, centuries or periods can be used instead of a year (e.g. 1060s, 11th century or Medieval).
    2. To use a year in the circa format, enter it as "c/Y" (e.g. c/1066 or c/150 BCE). (The use of "ca" or "circa" instead of "c" will also be recognised.) This will display as, for example, "c. 1066".
    3. To use a tenuous year, enter it as "Y/?" (e.g. 1066/?). This will display as, for example, "1066?"
    4. To use a approximate choice of two years, enter it as "Y/Y" (e.g. 1066/1067). This will display as it is written.
    The behaviour of this parameter can be further modified by:
    • noyear = will prevent the year being displayed in the header but will still add the work to the category for the year. For use in cases where the year is already included in the title of the work. Any use of this parameter, even without text, will work. Example: | noyear = yes. All pages with this parameter will be added to Category:Pages with noyear for tracking its usage.
    • noyearcat = will display the year but in the header but will not add the work to the category for the year. For use in cases where a specific subcategory exists for the type of work to avoid flooding the main category for the year. As above, any use of the parameter will trigger this action. Pages will be added to the tracking category Category:Pages with noyearcat.
    • override_year = will display the given text and will not attempt to add the work to the category for the year. For use in any other case not covered by the other parameters. Pages will be added to the tracking category Category:Pages with override year.
  • edition = yes to refer to further information on the work's talk page.
  • notes = notes to explain the work, to add context, or to impart concise information that adds value to the reader
  • categories = Forward-slash-separated list of categories
  • shortcut = The shortcut to this page, if it exists. This is normally reserved for very large reference works (e.g. EB11)
See Sister, related author, and portal wiki links
  • portal
  • related_author
  • wikipedia
  • commons
  • commonscat
  • wikiquote
  • wikinews
  • wiktionary
  • wikibooks
  • wikiversity
  • wikispecies
  • wikivoyage
  • wikidata
  • wikilivres
  • meta
{{header
 | title      = 
 | author     = 
 | translator = 
 | section    = 
 | previous   = 
 | next       = 
 | year       = 
 | portal     = 
 | wikipedia  = 
 | commons    = 
 | commonscat = 
 | wikiquote  = 
 | wikinews   = 
 | wiktionary = 
 | wikibooks  = 
 | wikiversity= 
 | wikispecies= 
 | wikivoyage = 
 | wikidata   = 
 | wikilivres = 
 | meta       = 
 | notes      = 
}}

Relative links

With lengthy, multi-page works, using relative links is highly recommended. This shortens the code and ensures that a work remains linked together even if it is moved or reorganised. The three formats are [[/subpage]] (subpage), [[../]] (parent), and [[../sibling]] (sibling); see the example usage below. Note that [[../]] will expand to the title of the parent page, which is ideal if the work is renamed at a later time.

This depends on a page conforming to the page title standards in the Style guide, with works in the form [[Work title]] and [[Work title/Subpage]].

Chapter titles

In general, include chapter titles in the "section" field, but avoid including them in the "previous" and "next" fields. For example:

Special cases

Translations

 |translator=Joe

The name of the translator. This will automatically be linked to an author page unless it contains the "[" character.

(A value of "?" or "unknown" adds {{No translator info}} to the page.)

(A value of "not mentioned" adds translator not mentioned to the page.)

No link to author page

| author= |override_author=Joe

Displays the author's name without a link to an author page (for works that don't have traditional authors).

Usage examples

Normal

{{header
 | title    = [[../]]
 | author   = Lewis Carroll
 | section  = Chapter 3: A Caucus-Race and a Long Tale
 | previous = [[../Chapter 2|Chapter 2]]
 | next     = [[../Chapter 4|Chapter 4]]
 | year     = 1865
 | notes    =
}}

No author link

{{header
 | title    = Peerage Act 1963
 | author   = |override_author= the United Kingdom Parliament
 | section  =
 | previous =
 | next     =
 | year     = 1963
 | notes    =
}}

Translation

{{header
 | title    = Fables
 | author   = Jean de La Fontaine
 | translator= Elizur Wright
 | section  =
 | previous =
 | next     =
 | notes    =
}}
{{header
 | title    = Pantagruel
 | author   = François Rabelais
 | override_translator= [[Author:Thomas Urquhart|]] and [[Author:Peter Antony Motteux|]]
 | section  =
 | previous =
 | next     =
 | notes    =
}}

Categories

Topical categories should be added to the head page of every work, as follows (up to 10 categories supported):

 | categories = 1st category / 2nd category

Sister, related author, and portal wiki links

You can link to Wikisource portals and other WMF projects using the optional wiki links parameters. These are:

  • portal, wikipedia, commons, commonscat, wikiquote, wikinews, wiktionary, wikibooks, wikiversity, wikispecies, meta

These links are generated using {{plain sister}}

{{header
 | title    = Kinematics of Machinery
 | author   = Franz Reuleaux
 | section  =
 | previous =
 | next     =
 | notes    =
 | portal  = Technology/Germany
 | wikipedia = Kinematics of Machinery
 | commonscat = Kinematics of Machinery
 | related_author = Albert Einstein
}}

Shortcuts

If a work has a shortcut, you can add it using the shortcut field. This should be in accordance with the shortcut guidelines, and shortcuts should not be used for every work.

{{header
 | title    = 1911 Encyclopædia Britannica
 | author   = 
 | section  =
 | previous =
 | next     =
 | notes    =
 | shortcut = [[EB1911]]
}}


Advanced manipulation

Alternative headers

^ Certain projects have customised versions of {{header}} that are used to present these works, eg. {{DNB00}} is used for the project involved with Dictionary of National Biography. For these works it is permissible and recommended that these variations are used. New alternatives to {{header}} should be discussed on the talk page, and consequentially listed on each project's pages.

JavaScript extraction

The header values can be extracted using JavaScript by accessing the text values of their span wrappers:

value wrapper id
title header_title_text
author header_author_text
translator header_translator_text
previous headerprevious
next headernext
notes none

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikimedia projects, please see Wikipedia's microformat project.

Sub-templates

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes; nor collapse nested elements which use them.

See also

  • {{textinfo}} for recording information on work's talk page
  • {{author}} for template header used in Author: namespace
  • {{process header}} for template header used in Wikisource: namespace
  • {{portal header}} for template header used in Portal: namespace
  • {{translation header}} for template header used in Translation: namespace
  • {{RunningHeader}} for the headers to be used in source texts