Template:Main: Difference between revisions

From NixOS Wiki
imported>Samueldr
m style
Klinger (talk | contribs)
m changed the example (was a redirect page)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{{DISPLAYTITLE:Template:main}}
{{DISPLAYTITLE:Template:main}}
{{Template}}
{{Template}}


=== Usage ===
== About ==
<code><nowiki>
Add this above a section to link to a ''main article'' related to that section.
{{main|Nix Channels}}
</nowiki></code>


{{main|Nix Channels}}
== Usage ==
{{ic|<nowiki>{{main|Channel branches}}</nowiki>}}


</noinclude><includeonly><div style="margin-left: 2em;">
== Example ==
{{main|Channel branches}}
 
</noinclude><includeonly><div style="margin-left: 2em; margin-bottom:1em">
''Main article: [[{{{1}}}]]''</div></includeonly>
''Main article: [[{{{1}}}]]''</div></includeonly>

Latest revision as of 20:26, 1 July 2024

This page is a template. It should be used as part of other articles. For more information, see Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to discuss this template in the talk page.

If you wanted to create a new page instead, use the search box to search for the title of the new page you want to create and follow the link Create the page "XYZ" on this wiki! in the results page. An alternative is to create a dangling link to the new page from an existing page. A final option is to directly visit the expected URL of the page.

About

Add this above a section to link to a main article related to that section.

Usage

{{main|Channel branches}}

Example

Main article: Channel branches