Difference between revisions of "Template:Main"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (New page: <noinclude>ddd <nowiki>{{main|dddd}}</nowiki> shows {{main|dddd}}</noinclude> <includeonly>''Main article: [[{{{1|{{NAMESPACE}}:{{PAGENAME}}}}}}]]''</includeonly>)
 
m (9 revisions imported)
 
(188 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}}</noinclude>
+
==Syntax==
 +
<pre>{{main|MAIN ARTICLE}}</pre>
  
<includeonly>''Main article: [[{{{1|{{NAMESPACE}}:{{PAGENAME}}}}}}]]''</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