Difference between revisions of "Template:Main"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (Protected "Template:Main" [edit=sysop:move=sysop])
m (9 revisions imported)
 
(104 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>ddd
+
<noinclude>{{pp-template}}
 +
This template should be used where a section of another article has been copied into the current article. The template will provide a link to the main article about the copied section.
  
<nowiki>{{main|dddd}}</nowiki> shows {{main|dddd}}
+
==Syntax==
</noinclude><includeonly><div>''Main article: [[{{{1|{{NAMESPACE}}:{{PAGENAME}}}}}]]''</div>
+
<pre>{{main|MAIN ARTICLE}}</pre>
</includeonly>
+
 
 +
The code above will create the following text: {{main|MAIN ARTICLE}}
 +
 
 +
==Example==
 +
</noinclude><div>''Main article: [[{{{1|{{NAMESPACE}}:{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]''</div>

Latest revision as of 14:10, 9 August 2019

This template should be used where a section of another article has been copied into the current article. The template will provide a link to the main article about the copied section.

Syntax

{{main|MAIN ARTICLE}}

The code above will create the following text:

Main article: MAIN ARTICLE

Example

Main article: Main