Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Stub other/doc: Difference between revisions

Template page
m 1 revision imported: import pages for Template:Uncategorized
m Text replacement - "{{Namespace and pagename-detecting templates}}↵" to ""
 
Line 13: Line 13:
This template looks for the [[regular expression]] <code>stub ?\}\}</code>. This means that there may be rare errors when used on a page containing a template ending with stub.  
This template looks for the [[regular expression]] <code>stub ?\}\}</code>. This means that there may be rare errors when used on a page containing a template ending with stub.  


{{Namespace and pagename-detecting templates}}


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |

Latest revision as of 07:31, 22 June 2025

This is the {{stub other}} meta-template.

This template helps other templates detect if they are used on a page with a stub template.

Basic usage[edit source]

This template usually takes two parameters, like this:

{{stub other |result if in used on a stub |result if used elsewhere}}

Technical details[edit source]

This template looks for the regular expression stub ?\}\}. This means that there may be rare errors when used on a page containing a template ending with stub.


Cookies help us deliver our services. By using our services, you agree to our use of cookies.