<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://linod.it.idolcodesource.in/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=88.97.96.89</id>
	<title>Ekatra Foundation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://linod.it.idolcodesource.in/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=88.97.96.89"/>
	<link rel="alternate" type="text/html" href="https://linod.it.idolcodesource.in/wiki/Special:Contributions/88.97.96.89"/>
	<updated>2026-06-12T16:56:14Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://linod.it.idolcodesource.in/index.php?title=Template:RunningHeader/doc&amp;diff=59071</id>
		<title>Template:RunningHeader/doc</title>
		<link rel="alternate" type="text/html" href="https://linod.it.idolcodesource.in/index.php?title=Template:RunningHeader/doc&amp;diff=59071"/>
		<updated>2022-12-11T11:55:21Z</updated>

		<summary type="html">&lt;p&gt;88.97.96.89: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation subpage}}{{template shortcut|rh|RunningFooter|rf}}&lt;br /&gt;
{{high-use|900000}}&lt;br /&gt;
{{uses TemplateStyles|Template:RunningHeader/styles.css}}&lt;br /&gt;
{{div-based-template|class=.wst-running-header}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Intended to simplify the display of [[w:Page header|running headers]] (can also be used for footers) when transcribing scanned text pages. Many texts include running headers (chapter names, etc.) centered at the top of a page, with accompanying page numbers on the left or right side (depending on whether the page number is even or odd).&lt;br /&gt;
&lt;br /&gt;
===3-part headers (left, centre, right)===&lt;br /&gt;
&lt;br /&gt;
Most running headers have three parts, one on the left, one on the right and one in the centre. If the template is given 3 arguments or fewer, they correspond to the left, center, and right sides of the running header.&lt;br /&gt;
&lt;br /&gt;
The template may be called using implicit parameters, in which case the order is left, center, right. For example:&lt;br /&gt;
&lt;br /&gt;
{{block center|&lt;br /&gt;
&amp;lt;pre&amp;gt;{{RunningHeader|left|center|right}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RunningHeader|left|center|right}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Alternatively, it may be called with explicit parameter names. For example:&lt;br /&gt;
&lt;br /&gt;
{{block center|&lt;br /&gt;
&amp;lt;pre&amp;gt;{{RunningHeader|left=LEFT|center=CENTRE|right=RIGHT}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RunningHeader|left=LEFT|right=RIGHT|center=CENTRE}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The use of explicit parameter names is especially useful in cases where one or more parameters are to be omitted.&lt;br /&gt;
&lt;br /&gt;
===4-part headers (left, left-centre, right-centre, right)===&lt;br /&gt;
&lt;br /&gt;
Some works, especially dictionaries and directories, have two headings in the centre of the page, one to the left and one to the right. In this case, you can provide 4 parameters, corresponding in turn to the left, left-centre, right-centre and right parts of the header.&lt;br /&gt;
&lt;br /&gt;
{{block center|&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{RunningHeader|left|left-centre|right-centre|right}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RunningHeader|left|left-centre|right-centre|right}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If a fourth parameter is present but blank, it will still trigger a 4-part header:&lt;br /&gt;
&lt;br /&gt;
{{block center|&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{RunningHeader|left|left-centre|right-centre|}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RunningHeader|left|left-centre|right-centre|}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Page styles ===&lt;br /&gt;
&lt;br /&gt;
This template adds the class &amp;lt;code&amp;gt;wst-running-header&amp;lt;/code&amp;gt; ({{search/css|.wst-running-header}}) to the outer container.&lt;br /&gt;
&lt;br /&gt;
You can target the &amp;quot;cells&amp;quot; of the header with [[H:Page styles|CSS]] like &amp;lt;syntaxhighlight lang=css inline=yes&amp;gt;.wst-running-header-cell:nth-child(n)&amp;lt;/syntaxhighlight&amp;gt;, where &#039;&#039;n&#039;&#039; is 1, 2 or 3 (or 4, for a 4-cell header).&lt;br /&gt;
&lt;br /&gt;
===Additional parameter: style===&lt;br /&gt;
Where there is a need to specify the style of the text, an optional &amp;quot;style&amp;quot; parameter can be used. This parameter takes the same style attributes that can be set for any &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;/nowiki&amp;gt; element in the &#039;&#039;&#039;3-part headers&#039;&#039;&#039; case or table row in the &#039;&#039;&#039;4-part headers&#039;&#039;&#039; case.&lt;br /&gt;
&lt;br /&gt;
{{block center|&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{RunningHeader|style=font-size:110%; font-style:italic|left|left-centre|right-centre|right}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RunningHeader|style=font-size:110%; font-style:italic|left|left-centre|right-centre|right}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If a style is repeated for all headers in a book, prefer the CSS method.&lt;br /&gt;
&lt;br /&gt;
==Redirects== &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;{{tl|Running header}} and {{tl|rh}} redirect here.  Use these forms of the template if you prefer.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Templatedata==&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;4&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Right (if 4 params used)&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;If four parameters are given, they will be arranged in four equal widths across the width of the page.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;left&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;1&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Left&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Left-side text.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;right&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;3&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Right (or right-center)&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The right-side text.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;center&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;centre&amp;quot;,&lt;br /&gt;
				&amp;quot;2&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Center (or center-left)&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The center text.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;style&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;style&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The style of the text; this parameter takes the same style attributes that can be set for any &amp;lt;div&amp;gt; element&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;class&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;class&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Additional CSS classes to apply to running header.&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Simplify the display of running headers (and footers) when transcribing scanned text pages.&amp;quot;,&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;left&amp;quot;,&lt;br /&gt;
		&amp;quot;center&amp;quot;,&lt;br /&gt;
		&amp;quot;right&amp;quot;,&lt;br /&gt;
		&amp;quot;4&amp;quot;,&lt;br /&gt;
		&amp;quot;style&amp;quot;,&lt;br /&gt;
		&amp;quot;class&amp;quot;&lt;br /&gt;
	],&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|recto-verso header}} -- for simple headers that vary by page number&lt;br /&gt;
* {{tl|recto-verso header2}} -- for more complicated headers that vary by page number&lt;br /&gt;
* {{tl|recto-verso header3}} -- for left/right aligned non-page number headers&lt;br /&gt;
* {{tl|rh/2}}&lt;br /&gt;
* {{tl|rh/3}}&lt;br /&gt;
* {{tl|rh/5}}&lt;br /&gt;
* {{tl|rh/lr}}&lt;br /&gt;
* {{tl|right}} for right text-alignment&lt;br /&gt;
* {{tl|left}} for left text-alignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- template categories --&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
[[Category:Page numbering templates|RunningHeader]]&lt;br /&gt;
[[Category:Templates applying classes for page styles|RunningHeader]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>88.97.96.89</name></author>
	</entry>
</feed>