User talk:JeffGent/testvip
From Wikipedia, the free encyclopedia
Contents |
[edit] Documentation
[edit] Usage
{{User:JeffGent/testvip|JeffGent}} (producing "JeffGent (talk • contribs)") or using the deprecated (via TfD of Template:Vip) but widely used variable "user" in {{User:JeffGent/testvip|user=JeffGent}} (producing "JeffGent (talk • contribs)") whereas use of the Vip template as {{Vip|JeffGent}} currently produces "JeffGent (talk • contribs)" or using the deprecated (via TfD of Template:Vip) but widely used variable "user" in {{Vip|user=JeffGent}}, "Example (talk • contribs)".
[edit] History
[edit] Build from scratch.
Draft 1: [[User:{{#if:{{{{{user}}}|}}|{{{user}}}}}{{#if:{{{{{1}}}|}}|{{{1}}}}}|{{#if:{{{{{user}}}|}}|{{{user}}}}}{{#if:{{{1}}}|{{{1}}}}}]] ([[User talk:{{#if:{{{{{user}}}|}}|{{{user}}}}}{{#if:{{{{{1}}}|}}|{{{1}}}}}|talk]] <small>•</small> [[Special:Contributions/{{#if:{{{{{user}}}|}}|{{{user}}}}}{{#if:{{{{{1}}}|}}|{{{1}}}}}|contribs]])
[edit] Draft 2 with tests:
(((user={{{user}}}, 1={{{1}}}), firstif=#if:{{{{{user}}}|}}|{{{user}}}}}, secondif=#if:{{{{{1}}}|}}|{{{1}}}}})), testif={{#if:{{{parameter|}}}|Parameter is defined.|Parameter is undefined, or empty}}, testfirstif={{#if:{{{user|}}}|{{{user}}}}}, testsecondif={{#if:{{{1|}}}|{{{1}}}}}, combo={{#if:{{{user|}}}|{{{user}}}}}{{#if:{{{1|}}}|{{{1}}}}}, complete=[[User:{{#if:{{{user|}}}|{{{user}}}}}{{#if:{{{1|}}}|{{{1}}}}}|{{#if:{{{user|}}}|{{{user}}}}}{{#if:{{{1|}}}|{{{1}}}}}]] ([[User talk:{{#if:{{{user|}}}|{{{user}}}}}{{#if:{{{1|}}}|{{{1}}}}}|talk]] <small>•</small> [[Special:Contributions/{{#if:{{{user|}}}|{{{user}}}}}{{#if:{{{1|}}}|{{{1}}}}}|contribs]])
[edit] Current
The current code is "[[User:{{#if:{{{user|}}}|{{{user}}}}}{{#if:{{{1|}}}|{{{1}}}}}|{{#if:{{{user|}}}|{{{user}}}}}{{#if:{{{1|}}}|{{{1}}}}}]] ([[User talk:{{#if:{{{user|}}}|{{{user}}}}}{{#if:{{{1|}}}|{{{1}}}}}|talk]] <small>•</small> [[Special:Contributions/{{#if:{{{user|}}}|{{{user}}}}}{{#if:{{{1|}}}|{{{1}}}}}|contribs]])". This is an expansion of the current code of [[Template:User]], "[[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]] <small>•</small> [[Special:Contributions/{{{1}}}|contribs]])", substituting "{{#if:{{{user|}}}|{{{user}}}}}{{#if:{{{1|}}}|{{{1}}}}}" (the "combo" portion of Draft 2 above) for "{{{1}}}" in all cases.