User:Sam Sailor/sandbox/Sandbox3

From Wikipedia, the free encyclopedia

To read about:

  • Wikipedia:Substitution and understand the different outcomes of subst and safesubst when a uw template is displayed in |demo=1 mode.
  • [[Special:Contributions/{{<includeonly>subst:</includeonly>BASEPAGENAME}}|your contributions]]
  • [[Special:Contributions/{{<includeonly>safesubst:</includeonly>BASEPAGENAME}}|your contributions]]

Comparison
  • This [[Special:Contributions/{{<includeonly>safesubst:</includeonly>BASEPAGENAME}}|your contributions]] in Uw-autobiography Special:PermaLink/841399190 shows up fine in |demo=1 mode
  • This [[Special:Contributions/{{<includeonly>subst:</includeonly>BASEPAGENAME}}|your contributions]] in Uw-articlesig Special:PermaLink/716166960 does not.
  • Hello <username>
    • Hello {{<includeonly>safesubst:</includeonly>BASEPAGENAME}}, -> Hello Sam Sailor/sandbox,
    • Hello, {{{{{|safesubst:}}}BASEPAGENAME}} -> Hello, Sam Sailor/sandbox
      • Those two return the same output when templates are viewed and in demo mode.
  • Hello I'm <username>
    • Hello, I'm <includeonly>[[User:{{sub<noinclude></noinclude>st:REVISIONUSER}}|{{sub<noinclude></noinclude>st:REVISIONUSER}}]]</includeonly><noinclude>[[User:Jimbo Wales|Jimbo]]</noinclude> -> Hello, I'm Jimbo
      • View: "Jimbo". Demo: Hello, I'm [[User:{{subst:REVISIONUSER}}|{{subst:REVISIONUSER}}]]
    • Hello, I'm <includeonly>[[User:{{safesub<noinclude></noinclude>st:REVISIONUSER}}|{{safesub<noinclude></noinclude>st:REVISIONUSER}}]]</includeonly><noinclude>[[User:Jimbo Wales|Jimbo]]</noinclude> -> Hello, I'm Jimbo
      • View: "Jimbo". Demo: Username of the last user to edit the template.
  • your contributions
    • [[Special:Contributions/{{<includeonly>safesubst:</includeonly>BASEPAGENAME}}|your contributions]] -> your contributions
  • my talk page
    •  Fail
    • ask me on [[User_talk:<includeonly>{{safesub<noinclude></noinclude>st:REVISIONUSER}}</includeonly><noinclude>Example</noinclude>|my talk page]]. as in Special:PermaLink/850186509
      • Viewing the template: ask me on my talk page.
      • Viewing the template in demo mode, this raw text is displayed: ask me on [[User_talk:|my talk page]]
    •  Pass
    • ask me on [[User_talk:{{<includeonly>safesubst:</includeonly>REVISIONUSER}}<noinclude>Example</noinclude>|my talk page]]. as in Special:PermaLink/857070500
      • Viewing the template: ask me on my talk page.
      • Viewing the template in demo mode, my talk page is nicely linked to the last editor (REVISIONUSER) who saved the template.