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

From blackwiki
Jump to navigation Jump to search
imported>DB1729
(Reverted 1 edit by 14.178.225.82 (talk): Unexplained blanking (TW))
imported>Fuhghettaboutit
(tweaks)
 
Line 3: Line 3:
 
{{subst only|auto=yes}}
 
{{subst only|auto=yes}}
 
{{help desk templates}}
 
{{help desk templates}}
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>.
+
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.
  

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