Template:Main: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#if:{{{ noindent|}}}||: }}''Main {{#if:{{{ section|}}}|{{{section}}}|article}}: [[{{{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:

Revision as of 13:16, 6 February 2019

Main article: Main page

Parameters:

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