Difference between revisions of "Template:Template:Main"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m
m (9 revisions imported)
 
(5 intermediate revisions by 2 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 21:34, 3 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: Template:Main