Difference between revisions of "Template:SeeMain/doc"

From WikiCorporates
Jump to navigation Jump to search
m
(→‎Example)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
<small><< [[Template:SeeMain]]</small>
 
−
 
 
=== Usage ===
 
=== Usage ===
 
Small template to refer the reader to the main article page.
 
Small template to refer the reader to the main article page.
Line 8: Line 6:
 
<pre>
 
<pre>
 
{{SeeMain
 
{{SeeMain
 +
|ml=    Optional; if not set, default = 1.6em
 
|Article 1
 
|Article 1
 
|Article 2
 
|Article 2
Line 15: Line 14:
 
</pre>
 
</pre>
  
−
Which will give:
+
Which will give either:
 
{{SeeMain|Article 1|Article 2|Article 3|Article 4}}
 
{{SeeMain|Article 1|Article 2|Article 3|Article 4}}
−
:See Main ...
+
{{SeeMain|ml=0|Article 1|Article 2|Article 3|Article 4}}
−
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
+
<includeonly>[[Category:WikiCorporates templates]]</includeonly>

Latest revision as of 19:50, 14 October 2020

Usage

Small template to refer the reader to the main article page.

It can take up to 4 url parameters.

Example

{{SeeMain
|ml=     Optional; if not set, default = 1.6em
|Article 1
|Article 2
|Article 3
|Article 4
}}

Which will give either:

See main articles: Article 1, Article 2, Article 3 and Article 4
See main articles: Article 1, Article 2, Article 3 and Article 4