Template:Main: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#if:{{{ noindent|}}}||: }}''Main {{#if:{{{ section|}}}|section|article}}: {{#if:{{{ section|}}}|{{inlink|1|2}}|[[{{{1|Main page}}}|{{#if:{{{ 2|}}}|{{{2}}}|{{{1|Main Page}}}}}]]|}}''<noinclude>
{{#if:{{{ noindent|}}}||: }}''Main {{#if:{{{ section|}}}|section|article}}: {{#if:{{{ section|}}}|{{inlink|{{{1|}}}|{{{2|}}}}}|[[{{{1|Main page}}}|{{#if:{{{ 2|}}}|{{{2}}}|{{{1|Main Page}}}}}]]|}}''<noinclude>


Parameters:
Parameters:

Latest revision as of 13:19, 6 February 2019

Main article: Main Page

Parameters:

  • 1: The page to link to (default: main page).
  • 2: The text of the link.
  • section: Section instead of article.
  • noindent: Do not indent.