Difference between revisions of "Template:Edit refs/doc"

From blackwiki
Jump to navigation Jump to search
imported>LightandDark2000
m (Reverted edits by 108.161.0.237 (talk) to last version by Drchriswilliams)
imported>Fuhghettaboutit
(tweaks)
 
(9 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template addresses the not uncommon confusion presented when users first seek to edit an inline citation but find instead of citation text in the references section, only {{tl|Reflist}} or <nowiki><references/></nowiki>.
+
{{subst only|auto=yes}}
 +
{{help desk templates}}
 +
This template addresses the not uncommon confusion encountered when users first seek to edit inline citations, but instead of finding the citations' text in the references section, see only {{tl|Reflist}} or <nowiki><references/></nowiki>.
  
 
=== Usage ===
 
=== Usage ===
* This template should always be [[WP:SUBST|substituted]] by prefixing "subst:" inside the template code. Thus use <nowiki>{{</nowiki>'''subst:'''<code><nowiki>Edit refs}}</nowiki></code> rather than <code><nowiki>{{Edit refs}}</nowiki></code>.
+
* This template should always be [[WP:SUBST|substituted]] by prefixing "subst:" inside the template code. Thus, use <nowiki>{{</nowiki>'''subst:'''<code><nowiki>Edit refs}}</nowiki></code>, rather than <code><nowiki>{{Edit refs}}</nowiki></code>.
* You can indent the template, by typing '''<code><nowiki>:{{subst:Edit refs}}</nowiki></code>'''.
+
* You can indent the template by typing one or more colons before the template code, e.g., '''<code><nowiki>:{{subst:Edit refs}}</nowiki></code>'''.
 +
* The indentation level you specify using colons, per above, is maintained across the template's paragraph breaks by the use of <tt><nowiki><p></nowiki></tt> tags, instead of line breaks.
 
* The template does not include automatic signing. Please remember to sign by typing four tildes (~) after the template syntax.
 
* The template does not include automatic signing. Please remember to sign by typing four tildes (~) after the template syntax.
  
 
{{Referencing help}}
 
{{Referencing help}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Help desk templates|{{PAGENAME}}]]
 
[[Category:Help desk templates|{{PAGENAME}}]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 21:08, 14 December 2020

This template addresses the not uncommon confusion encountered when users first seek to edit inline citations, but instead of finding the citations' text in the references section, see only {{Reflist}} or <references/>.

Usage

  • This template should always be substituted by prefixing "subst:" inside the template code. Thus, use {{subst:Edit refs}}, rather than {{Edit refs}}.
  • You can indent the template by typing one or more colons before the template code, e.g., :{{subst:Edit refs}}.
  • The indentation level you specify using colons, per above, is maintained across the template's paragraph breaks by the use of <p> tags, instead of line breaks.
  • The template does not include automatic signing. Please remember to sign by typing four tildes (~) after the template syntax.

Template:Referencing help