Template:Main: Difference between revisions
From Little Tail Wiki
Jump to navigationJump to search
Created page with "<div style="margin-left: 1.6em;">''Main article: {{if|{{{2|}}}| [[{{{1}}}|{{{2}}}]] | [[{{{1}}}|{{#ifeq:{{#titleparts:{{{1}}}|1|-1}}|{{{1}}}|{{{2|{{{1}}}}}}|{{#titleparts: {{{1}}} | 1}} ★ {{#titleparts: {{{1}}} | 1 | -1}}}}]]}}''</div><noinclude> {{documentation}}</noinclude>" |
No edit summary |
||
Line 1: | Line 1: | ||
<div style="margin-left: 1.6em;">''Main article: {{if|{{{2|}}}| [[{{{1}}}|{{{2}}}]] | [[{{{1}}}|{{#ifeq:{{#titleparts:{{{1}}}|1|-1}}|{{{1}}}|{{{2|{{{1}}}}}}|{{#titleparts: {{{1}}} | 1}} ★ {{#titleparts: {{{1}}} | 1 | -1}}}}]]}}''</div><noinclude> | <div style="margin-left: 1.6em;">''Main article: {{if|{{{2|}}}| [[{{{1}}}|{{{2}}}]] | [[{{{1}}}|{{#ifeq:{{#titleparts:{{{1}}}|1|-1}}|{{{1}}}|{{{2|{{{1}}}}}}|{{#titleparts: {{{1}}} | 1}} ★ {{#titleparts: {{{1}}} | 1 | -1}}}}]]}}''</div><noinclude> | ||
{{documentation}}</noinclude> | {{documentation}} | ||
[[Category:Link Templates]]</noinclude> |
Latest revision as of 20:03, 10 March 2025
Main article: [[{{{1}}}|{{{1}}}]]
Documentation (for the above template, sometimes hidden or invisible)
- Description
- This template is used at the start of a section to link to the main article on that subject.
- Syntax
- Type
{{main|<page name>}}
- Sample output
{{main|Waffle Ryebread}}
gives...- Main article: Waffle Ryebread
Visit Template:Main/doc to edit this text! (How does this work?)