Template:Process header/doc: Difference between revisions

Content deleted Content added
{{documentation subpage}}, cleaned up
use syntaxhighlight
 
(10 intermediate revisions by 9 users not shown)
Line 1:
{{documentation subpage}}
<!--PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE-->
<!--
 
PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
== Usage ==
-->
<syntaxhighlight lang="wikitext">
== Usage ==
<pre>
{{process header
| title =
Line 13 ⟶ 12:
| notes =
}}
</syntaxhighlight>
</pre>
 
This template is meant to be used at the top of a page in the Wikipedia namespace. Fill in any relevant information, and leave unknown or inapplicable parameters empty. Don't remove unused parameters, as these help editors use the template elsewhere.
 
=== Relative links ===
On pages works with many subpages, using [[m:Help:Link#Subpage_feature|relative links]] is highly recommended. This shortens the code and ensures that pages remain linked together even if the overall system is moved or reorganised. The three formats are <nowiki>[[/subpage]]</nowiki> (subpage), <nowiki>[[../]]</nowiki> (parent), and <nowiki>[[../sibling]]</nowiki> (sibling); see the example usage below. Note that <nowiki>[[../]]</nowiki> will expand to the title of the parent page, which is ideal if the page is renamed at a later time.
 
== See Also ==
*[[Template:Process header blue]]
*[[Template:Date series header]]
 
ThisThe {{tlx|Process header}} template is(and its variants {{tlx|Process header blue}} and {{tlx|Process header green}}, are meant to be used at the top of a page in the Wikipedia namespace. Fill in any relevant information, and leave unknown or inapplicable parameters empty. Don't remove unused parameters, as these help editors use the template elsewhere.
 
=== Relative links ===
<includeonly>
On pages works with many subpages, using [[m:Help:Link#Subpage_feature|relative links]] is highly recommended. This shortens the code and ensures that pages remain linked together, even if the overall system is moved or reorganised. The three formats are <nowiki>[[/subpage]]</nowiki> (subpage), <nowiki>[[../]]</nowiki> (parent), and <nowiki>[[../sibling]]</nowiki> (sibling); see the example usage below. Note that <nowiki>[[../]]</nowiki> will expand to the title of the parent page, which is ideal if the page is renamed at a later time.
<!-- categories and interwiki links -->
[[Category:Wikipedia header templates]]
[[Category:Templates using ParserFunctions]]
 
== See Also also==
* [[Template:Process header blue]]
* [[Wikipedia:Template messages/Wikipedia namespace]] for a listing of Wikipedia namespace banners.
<includeonly>{{Sandbox other||
<!-- categories and interwiki links -->
[[Category:Wikipedia procedural header templates]]
 
}}</includeonly>