Difference between revisions of "Template:SeeMainArticle"

From PINE64
Jump to navigation Jump to search
(Add a template for very prominently linking to main articles about a certain topic)
 
(Refactor)
Line 4: Line 4:
== Usage ==
== Usage ==


<pre><nowiki>{{SeeMainArticle|article}}
<pre><nowiki>{{SeeMainArticle|article}}</nowiki></pre>
</nowiki></pre>


== Example ==
== Example ==


<pre>
{| class="wikitable" style="min-width: 50%; background-color: transparent;"
{{SeeMainArticle|ROCK64}}
! style="width: 50%;" | Source
</pre>
! style="width: 50%;" | Result
 
|-
{{SeeMainArticle|ROCK64}}
| style="padding: 0;" | <pre style="margin: 0; border: none;"><nowiki>{{SeeMainArticle|ROCK64}}</nowiki></pre>
 
| {{SeeMainArticle|ROCK64}}
</noinclude><includeonly><span style="font-size:1.5em; font-style:italic">Main Article: [[{{{1}}}]]</span></includeonly>
|}
</noinclude><includeonly>Main Article: <span style="font-size: 1.5em; font-style: italic;">[[{{{1}}}]]</span></includeonly>

Revision as of 02:07, 17 September 2021

This page is a template. Check out all pages using this template.
For more information, read Template:Template.

Usage

{{SeeMainArticle|article}}

Example

Source Result
{{SeeMainArticle|ROCK64}}
Main Article: ROCK64