Template:For more information ns: Difference between revisions From Online Manual

Jump to: navigation, search
(Expanded upon http://wiki.simplemachines.org/smf/index.php?title=Template:For_more_information&oldid=9587)
 
(if no linktext, then use {{{1}}} rather than {{{namespace}}}{{{1}}})
Line 1: Line 1:
{{#if: {{{1|}}}
{{#if: {{{1|}}}
|{{#ifeq: {{BASEPAGENAME}}|{{{1}}}||For more information{{#if:{{{about|}}}| about {{{about|}}}}}, see  [[{{{namespace|}}}{{{1}}}{{#if:{{{linktext|}}}|{{!}}{{{linktext}}}|}}]]}}
|{{#ifeq: {{BASEPAGENAME}}|{{{1}}}||For more information{{#if:{{{about|}}}| about {{{about|}}}}}, see  [[{{{namespace|}}}{{{1}}}{{!}}{{#if:{{{linktext|}}}|{{{linktext}}}|{{{1}}}}}]]}}
|
|
}}
}}
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 17:18, 28 April 2014

[edit] [purge] Template documentation
  • Will not show up on a page that has a BASEPAGENAME that matches parameter 1
  • namespace is optional. If you use one, you must include the :
  • linktext is optional.
{{For more information ns|about=membergroups|membergroups|namespace={{Latest docs}}}}

Produces
For more information about membergroups, see membergroups


{{For more information ns|about=membergroups|membergroups|namespace={{Latest docs}}|linktext=boo}}

Produces
For more information about membergroups, see boo



Advertisement: