Difference between revisions of "Template:Main article"

From Stardew Valley Wiki
Jump to navigation Jump to search
(refactored as <div role="note"> instead of <dl> (role attribute will work in MW≥1.27))
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div role="note" style="margin: 0.2em 0 0.6em 1.6em; font-style: italic;"><!--
+
:''Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}]]{{#if:{{{2|}}}|, [[{{{2}}}]]}}''<noinclude>
-->Main article: [[{{{1}}}]]{{#if:{{{2|}}}|, [[{{{2}}}]]}}
+
{{{{FULLPAGENAME}}/doc}}</noinclude>
</div><noinclude>
 
[[Category:Formatting templates]]
 
</noinclude>
 

Latest revision as of 21:37, 8 January 2023

Main article: [[{{{1}}}]]

Description

This template displays a link to the main article of a shorter section.

Use

{{Main article|''article name''}}

Examples

{{Main article|Crops}}

Results in...

Main article: Crops