Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
Template:Z number doc
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Namespaces
Template
Discussion
More
More
Page actions
Read
Edit source
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{documentation|content= <!-- This template, {{z number doc}}, serves as the documentation for all of the z number templates, e.g. {{z1}}, {{z2}}, {{z3}} etc.--> <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Purpose === There are numerous templates on MEpedia that should be – and in almost all cases are – [[MEpedia:Substitution|substituted]] when used, as opposed to being '''transcluded'''; that is, when they are placed, the code is called from the existing template and placed on the page as if you had typed it there. When templates are substituted there is no longer any direct connection with the template page the text was called from other than, often, a '''commented out''' note placed by the template indicating its origin, in the form: <nowiki><!-- Template:Name --></nowiki>. Such commented out text is not searchable. For this reason it is impossible in most cases to track in any consistent and easy way the use of a template that is normally substituted. By contrast, since transcluded templates are always connected with their source template pages, all one needs to do to track usage of such templates is to check '''What links here'''. The z number templates, starting at <nowiki>{{z1}}</nowiki> and ascending (<nowiki>{{z2}}, {{z3}}, {{z4}}</nowiki> etc.) are blank, ''never substituted'' templates, whose only purpose is to provide a tracking mechanism in ''other templates'' that ''are substituted''. Each z number template is assigned to (and placed in) one specific, normally-substituted template, where usage tracking is expected to be useful. This allows the outside template to be tracked by what links to the z number template assigned to it, without changing the template or its function in ''any way''. The small footprint z number template is simply added to the existing template's code and thereafter remains invisible in the assigned template except when viewed in "edit mode", transcluding into its assigned template no material whatsoever as it ''has no text or code of its own''. === Creation and usage === To begin using a z number template to track a substituted template's usage, you must: #Create a specific z number template to be used on a one-to-one basis inside an existing template. To do so, peruse the [[Template:Z number doc#List of assigned z number templates|list of assigned z number templates]] below; find the highest numerically assigned number in the ascending list; and then create a new template at the next higher number. For example, if z1 through z142 have already been created, you would create Template:z143. All z number templates take the same simple block of text. Copy the following text into the z number template you create, click save and you are done with creation: <code><nowiki><noinclude>{{Z number doc}}</noinclude></nowiki></code> (yes, ''that's it'') #Add to the [[Template:Z number doc#List of assigned z number templates|list of assigned z number templates]] below the z number template you have created, associating it in the list with the existing template you will be using it in for tracking purposes #Go to the normally substituted template you wish to track and add the z number template to its syntax. We suggest placing it at the end of the template syntax, just prior to the commented out text providing the template name, e.g., <code><nowiki>{{z84}}<!-- Template:Name --></nowiki></code> #Be sure the z number template is not added inside of a conditional part of the template you wish to track, such as an #if function or another type of conditional '''parser function''' #Finally, if the template to which you want to add a z number template is semi- or fully-protected, make an {{Tlx|Edit protected}} request on the template's talk page, requesting that the z number template you have created be added. ==How to track== Once you have completed creation and assignment of a z number template to a normally substituted template, simply navigate to the z number template, click '''What links here''', then click "Hide links" and all pages shown are those in which the assigned template appears. For convenience, [//en.wikipedia.org/w/index.php?title=Special%3AWhatLinksHere&hidelinks=1 this is the WLH tool with "hide links" option selected]: just fill in the template's name in the field next to <kbd>Page:</kbd> and click {{Button|Go}}. ==List of assigned z number templates== <!-- NOTE: Z143, Z144, Z145, Z146 and Z157 all exist and are available for use (their associated templates have been deleted). Therefore, you can place any one of these directly in a substituted template you wish to track, without the need to create a new Z number template. But then 1) Change the association in the list below to specify what template the Z template is now tracking; 2) delete the Z Number you have used from this hidden message; 3) once all of the available ones are used, i.e., if you take the last one still available, delete this hidden message entirely. --> <!-- ADD THE TEMPLATE YOU CREATE IN THE FORMAT: {{tl|Z+number}} β {{tl|associated template name}}<br /> --> {{Div col|colwidth=15em|style=font-size: small;}} <pre> {{tl|Z1}} β {{tl|Talkbacktiny}}<br /> {{tl|Z2}} β {{tl|Declinedsd}}<br /> {{tl|Z3}} β {{tl|Refref}}<br /> {{tl|Z4}} β {{tl|Sdd}}<br /> {{tl|Z5}} β {{tl|Sdd2}}<br /> {{tl|Z6}} β {{tl|Sdd3}}<br /> {{tl|Z7}} β {{tl|Uw-lblock}}<br /> {{tl|Z8}} β {{tl|Uw-hblock}}<br /> {{tl|Z9}} β {{tl|Uw-ewblock}}<br /> {{tl|Z10}} β {{tl|Uw-3block}}<br /> {{tl|Z11}} β {{tl|Uw-botblock}}<br /> {{tl|Z12}} β {{tl|Uw-ublock}}<br /> {{tl|Z13}} β {{tl|Uw-uhblock}}<br /> {{tl|Z14}} β {{tl|Uw-npblock}}<br /> {{tl|Z15}} β {{tl|Uw-softerblock}}<br /> {{tl|Z16}} β {{tl|Uw-botublock}}<br /> {{tl|Z17}} β {{tl|Uw-spamublock}}<br /> {{tl|Z18}} β {{tl|Uw-vaublock}}<br /> {{tl|Z19}} β {{tl|SD warn-needed}}<br /> {{tl|Z20}} β {{tl|Helpme-nq}}<br /> {{tl|Z21}} β {{tl|Wb}}<br /> {{tl|Z22}} β '''''unused'''''<br /> {{tl|Z23}} β '''''unused'''''<br /> {{tl|Z24}} β {{tl|Articledeleted}}<br /> {{tl|Z25}} β {{tl|Astray}}<br /> {{tl|Z26}} β {{tl|Creation}}<br /> {{tl|Z27}} β {{tl|Ping fix}}<br /> {{tl|Z28}} β {{tl|Linking}}<br /> {{tl|Z29}} β {{tl|Lostpassword}}<br /> {{tl|Z30}} β {{tl|Notwiki}}<br /> {{tl|Z31}} β {{tl|Otherwiki}}<br /> {{tl|Z32}} β {{tl|Otherwiki-sister}}<br /> {{tl|Z33}} β {{tl|Ds/alert}}<br /> {{tl|Z34}} β {{tl|Refref2}}<br /> {{tl|Z35}} β {{tl|Renaming}}<br /> {{tl|Z36}} β {{tl|Reportvandal}}<br /> {{tl|Z37}} β {{tl|RD1}}<br /> {{tl|Z38}} β {{tl|RD2}}<br /> {{tl|Z39}} β {{tl|RD3}}<br /> {{tl|Z40}} β {{tl|UPIMG}}<br /> {{tl|Z41}} β {{tl|Vanish}}<br /> {{tl|Z42}} β '''''unused'''''<br /> {{tl|Z43}} β {{tl|Uw-create1}}<br /> {{tl|Z44}} β {{tl|Uw-create2}}<br /> {{tl|Z45}} β {{tl|Uw-create3}}<br /> {{tl|Z46}} β {{tl|Uw-create4}}<br /> {{tl|Z47}} β {{tl|Uw-create4im}}<br /> {{tl|Z48}} β {{tl|Please see}}<br /> {{tl|Z49}} β {{tl|Uw-vandal-rand1}} case 0<br /> {{tl|Z50}} β {{tl|Uw-vandal-rand1}} case 1<br /> {{tl|Z51}} β {{tl|Uw-vandal-rand1}} case 2<br /> {{tl|Z52}} β {{tl|Uw-vandal-rand1}} case 3<br /> {{tl|Z53}} β {{tl|Uw-vandal-rand1}} case 4<br /> {{tl|Z54}} β {{tl|Uw-vandal-rand1}} case 5<br /> {{tl|Z55}} β {{tl|Uw-vandal-rand1}} case 6<br /> {{tl|Z56}} β {{tl|Uw-vandal-rand1}} case 7<br /> {{tl|Z57}} β {{tl|Uw-vandal-rand1}} case 0 (exp. #2)<br /> {{tl|Z58}} β {{tl|Uw-vandal-rand1}} case 1 (exp. #2)<br /> {{tl|Z59}} β {{tl|Uw-vandal-rand1}} case 2 (exp. #2)<br /> {{tl|Z60}} β {{tl|Uw-test1-rand}} case 1 (exp. #3)<br /> {{tl|Z61}} β {{tl|Uw-test1-rand}} case 2 (exp. #3)<br /> {{tl|Z62}} β {{tl|Uw-spam1-rand}} case 1 (exp. #3)<br /> {{tl|Z63}} β {{tl|Uw-spam1-rand}} case 2 (exp. #3)<br /> {{tl|Z64}} β {{tl|Uw-error1-rand}} case 1 (exp. #3)<br /> {{tl|Z65}} β {{tl|Uw-error1-rand}} case 2 (exp. #3)<br /> {{tl|Z66}} β {{tl|Uw-unsor1-rand}} case 1 (exp. #3)<br /> {{tl|Z67}} β {{tl|Uw-unsor1-rand}} case 2 (exp. #3)<br /> {{tl|Z68}} β {{tl|Uw-npov1-rand}} case 1 (exp. #3)<br /> {{tl|Z69}} β {{tl|Uw-npov1-rand}} case 2 (exp. #3)<br /> {{tl|Z70}} β {{tl|Uw-bio1-rand}} case 1 (exp. #3)<br /> {{tl|Z71}} β {{tl|Uw-bio1-rand}} case 2 (exp. #3)<br /> {{tl|Z72}} β {{tl|Uw-attack1-rand}} case 1 (exp. #3)<br /> {{tl|Z73}} β {{tl|Uw-attack1-rand}} case 2 (exp. #3)<br /> {{tl|Z74}} β {{tl|Uw-blank1-rand}} case 1 (exp. #3)<br /> {{tl|Z75}} β {{tl|Uw-blank1-rand}} case 2 (exp. #3)<br /> {{tl|Z76}} β {{tl|Uw-delete1-rand}} case 1 (exp. #3)<br /> {{tl|Z77}} β {{tl|Uw-delete1-rand}} case 2 (exp. #3)<br /> {{tl|Z78}} β {{tl|Proposed deletion notify-rand}} case 1 <br /> {{tl|Z79}} β {{tl|Proposed deletion notify-rand}} case 2<br /> (Z80 is taken for an unrelated purpose) <br /> {{tl|Z81}} β {{tl|AfD-notice-rand}} case 1 <br /> {{tl|Z82}} β {{tl|AfD-notice-rand}} case 2<br /> {{tl|Z83}} β '''''unused'''''<br /> {{tl|Z84}} β {{tl|Uw-vandal-rand1}} case 1 (exp. #4)<br /> {{tl|Z85}} β {{tl|Uw-vandal-rand1}} case 2 (exp. #4)<br /> {{tl|Z86}} β {{tl|Uw-vandal-rand1}} case 3 (exp. #4)<br /> {{tl|Z87}} β {{tl|Uw-spam1-bot}} case 1<br /> {{tl|Z88}} β {{tl|Uw-spam1-bot}} case 2 <br /> {{tl|Z89}} β {{tl|Uw-spam2-bot}} case 1 <br /> {{tl|Z90}} β {{tl|Uw-spam2-bot}} case 2 <br /> {{tl|Z91}} β {{tl|Uw-spam3-bot}} case 1 <br /> {{tl|Z92}} β {{tl|Uw-spam3-bot}} case 2 <br /> {{tl|Z93}} β {{tl|Uw-spam4-bot}} case 1 <br /> {{tl|Z94}} β {{tl|Uw-spam4-bot}} case 2 <br /> {{tl|Z95}} β {{tl|Welcomeanon-rand}} case 1 <br /> {{tl|Z96}} β {{tl|Welcomeanon-rand}} case 2<br /> {{tl|Z97}} β {{tl|Welcomeg-rand}} case 1 <br /> {{tl|Z98}} β {{tl|Welcomeg-rand}} case 2<br /> {{tl|Z99}} β {{tl|Uw-test1-rand}} case 1 (exp. #4)<br /> {{tl|Z100}} β {{tl|Uw-test1-rand}} case 2 (exp. #4)<br /> {{tl|Z101}} β {{tl|Uw-spam1-rand}} case 1 (exp. #4)<br /> {{tl|Z102}} β {{tl|Uw-spam1-rand}} case 2 (exp. #4)<br /> {{tl|Z103}} β {{tl|Uw-error1-rand}} case 1 (exp. #4)<br /> {{tl|Z104}} β {{tl|Uw-error1-rand}} case 2 (exp. #4)<br /> {{tl|Z105}} β {{tl|Uw-unsor1-rand}} case 1 (exp. #4)<br /> {{tl|Z106}} β {{tl|Uw-unsor1-rand}} case 2 (exp. #4)<br /> {{tl|Z107}} β {{tl|Uw-npov1-rand}} case 1 (exp. #4)<br /> {{tl|Z108}} β {{tl|Uw-npov1-rand}} case 2 (exp. #4)<br /> {{tl|Z109}} β {{tl|Uw-bio1-rand}} case 1 (exp. #4)<br /> {{tl|Z110}} β {{tl|Uw-bio1-rand}} case 2 (exp. #4)<br /> {{tl|Z111}} β {{tl|Uw-attack1-rand}} case 1 (exp. #4)<br /> {{tl|Z112}} β {{tl|Uw-attack1-rand}} case 2 (exp. #4)<br /> {{tl|Z113}} β {{tl|Uw-blank1-rand}} case 1 (exp. #4)<br /> {{tl|Z114}} β {{tl|Uw-blank1-rand}} case 2 (exp. #4)<br /> {{tl|Z115}} β {{tl|Uw-delete1-rand}} case 1 (exp. #4)<br /> {{tl|Z116}} β {{tl|Uw-delete1-rand}} case 2 (exp. #4)<br /> {{tl|Z117}} β {{tl|Csb-notice-pageincludes-rand}} case 1 <br /> {{tl|Z118}} β {{tl|Csb-notice-pageincludes-rand}} case 2 <br /> {{tl|Z119}} β {{tl|Csb-notice-pageincludes-exp-rand}} case 3 <br /> {{tl|Z120}} β {{tl|Csb-notice-pageincludes-exp-rand}} case 4 <br /> {{tl|Z121}} β {{tl|Csb-notice-pageincluded-rand}} case 1 <br /> {{tl|Z122}} β {{tl|Csb-notice-pageincluded-rand}} case 2 <br /> {{tl|Z123}} β {{tl|Csb-notice-pageincluded-exp-rand}} case 3 <br /> {{tl|Z124}} β {{tl|Csb-notice-pageincluded-exp-rand}} case 4 <br /> {{tl|Z125}} β {{tl|Csb-notice-wikipage-rand}} case 1 <br /> {{tl|Z126}} β {{tl|Csb-notice-wikipage-rand}} case 2 <br /> {{tl|Z127}} β {{tl|Csb-notice-wikipage-exp-rand}} case 3 <br /> {{tl|Z128}} β {{tl|Csb-notice-wikipage-exp-rand}} case 4 <br /> {{tl|Z129}} β {{tl|Welcomelaws-rand}} case 1 <br /> {{tl|Z130}} β {{tl|Welcomelaws-rand}} case 2 <br /> {{tl|Z131}} β [[User:OrphanBot/nosource nolicense-rand]] case 1 <br /> {{tl|Z132}} β [[User:OrphanBot/nosource nolicense-rand]] case 2 <br /> {{tl|Z133}} β [[User:OrphanBot/nosource nolicense-rand]] case 3 <br /> {{tl|Z134}} β [[User:OrphanBot/untagged-rand]] case 1 <br /> {{tl|Z135}} β [[User:OrphanBot/untagged-rand]] case 2 <br /> {{tl|Z136}} β [[User:OrphanBot/untagged-rand]] case 3 <br /> {{tl|Z137}} β [[User:OrphanBot/nosource-rand]] case 1 <br /> {{tl|Z138}} β [[User:OrphanBot/nosource-rand]] case 2 <br /> {{tl|Z139}} β [[User:OrphanBot/nosource-rand]] case 3 <br /> {{tl|Z140}} β [[User:OrphanBot/nolicense-rand]] case 1 <br /> {{tl|Z141}} β [[User:OrphanBot/nolicense-rand]] case 2 <br /> {{tl|Z142}} β [[User:OrphanBot/nolicense-rand]] case 3 <br /> (Z142-46 [[#Deprecated uses|deprecated]])<br /> {{tl|Z147}} β {{tl|The Defender of the Wiki Barnstar}}<br /> {{tl|Z148}} β {{tl|No more links}}<br /> {{tl|Z149}} β {{tl|Uw-hasty}}<br /> {{tl|Z150}} β {{tl|Astray astray}}<br /> {{tl|Z151}} β {{tl|Uw-softestblock}}<br /> {{tl|Z152}} β {{tl|ArbCom 2019 special circular}} <br /> {{tl|Z153}} β {{tl|bio-warn-deletion}}<br /> {{tl|Z154}} β {{tl|Contrib-ro1}}<br /> {{tl|Z155}} β {{tl|Ds/editnotice}} case 1<br /> {{tl|Z156}} β {{tl|Ds/editnotice}} case 2<br /> (Z157 [[#Deprecated uses|deprecated]])<br /> {{tl|Z158}} β {{tl|Sdd4}}<br /> {{tl|Z159}} β {{tl|Uw-paid1}}<br /> {{tl|Z160}} β {{tl|Uw-paid2}}<br /> {{tl|Z161}} β {{tl|Uw-paid3}}<br /> {{tl|Z162}} β {{tl|Uw-paid4}}<br /> {{tl|Z163}} β {{tl|helpmessage}}<br /> {{tl|Z164}} β {{tl|Welcome to Wikipedia}}<br /> (Z165 [[#Deprecated uses|deprecated]])<br /> {{tl|Z166}} β {{tl|Nothanks-sd-NPF}}<br /> {{tl|Z167}} β {{tl|Stop NPP}}<br /> {{tl|Z168}} β {{tl|Stop NPP 2}}<br /> {{tl|Z169}} β {{tl|Stop NPP 3}}<br /> {{tl|Z170}} β {{tl|Stop NPP 4}}<br /> {{tl|Z171}} β {{tl|Uw-NPR-1}}<br /> {{tl|Z172}} β {{tl|Uw-NPR-2}}<br /> {{tl|Z173}} β {{tl|Uw-NPR-3}}<br /> {{tl|Z174}} β {{tl|Uw-NPR-4}}<br /> {{tl|Z175}} β {{tl|Uw-joke1}}<br /> {{tl|Z176}} β {{tl|Uw-joke2}}<br /> {{tl|Z177}} β {{tl|Uw-joke3}}<br /> {{tl|Z178}} β {{tl|Uw-joke4}}<br /> {{tl|Z179}} β {{tl|Uw-joke4im}}<br /> {{tl|Z180}} β {{tl|ECgaming}}<br /> {{tl|Z181}} β {{tl|Test}}, {{tl|Test2}}, {{tl|Test3}}, {{tl|Test4}}, {{tl|Test5i}}<br /> {{tl|Z182}} β {{tl|UAA-no edits}}<br /> {{tl|Z183}} β {{tl|Unviable draft}}<br /> {{Div col end}} ===Deprecated uses=== The following z number templates are in use, but their corresponding templates have been deleted. {{Div col|colwidth=30em|style=font-size: small;}} {{tl|Z143}} β [[User:28bot/templates/registered]] case 1 <br /> {{tl|Z144}} β [[User:28bot/templates/registered-new]] case 2 <br /> {{tl|Z145}} β [[User:28bot/templates/unregistered]] case 1 <br /> {{tl|Z146}} β [[User:28bot/templates/unregistered-new]] case 2 <br /> {{tl|Z157}} β {{tl|Delay archiving}}<br /> {{tl|Z165}} β {{tl|Uw-patrolled}}<br /> </pre> {{div col end}} }}<noinclude> [[Category:Template documentation pages]] </noinclude> [[Category:Substitution tracking templates<noinclude>| {{PAGENAME}}</noinclude>]]
Summary:
Please make sure your edits are consistent with
MEpedia's guidelines
.
By saving changes, you agree to the
Terms of use
, and you irrevocably agree to release your contribution under the
CC BY-SA 3.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Button
(
edit
)
Template:Column-width
(
edit
)
Template:Div col
(
edit
)
Template:Div col end
(
edit
)
Template:Documentation
(
edit
)
Template:Template link expanded
(
edit
)
Template:Tlx
(
edit
)
Module:Arguments
(
edit
)
Module:Documentation
(
edit
)
Module:Documentation/config
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:No globals
(
edit
)
Module:Template link general
(
edit
)
Module:Yesno
(
edit
)
Navigation
Navigation
Skip to content
Main page
Browse
Become an editor
Random page
Popular pages
Abbreviations
Glossary
About MEpedia
Links for editors
Contents
Guidelines
Recent changes
Pages in need
Search
Help
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs