Template:MainArticle: Difference between revisions

From Against the Storm Official Wiki
m (Added code for the example)
m (Added categories)
 
Line 1: Line 1:
<includeonly>:''Main article: [[{{{1|Main_Page}}}]]''</includeonly><noinclude>
<includeonly>:''Main article: [[{{{1|Main_Page}}}]]''</includeonly><noinclude>


Creates a link to the specified page. For use under headings when there is a short amount of information excerpted from a larger article on the topic.
Creates a link to the specified page for use under headings when there is a short amount of information excerpted from a larger article on the topic.


== Example ==
== Example ==
Line 12: Line 12:
   
   
This template does not return any errors, however if you forget to include a link, it will make a link back to the front page.
This template does not return any errors, however if you forget to include a link, it will make a link back to the front page.
[[Category:Templates]]
[[Category:Templates/Markup templates]]
[[Category:Templates/Formatting templates]]
</noinclude>

Latest revision as of 22:42, 5 February 2024


Creates a link to the specified page for use under headings when there is a short amount of information excerpted from a larger article on the topic.

Example

Main article: Beginner's Guide

That's an example created by writing {{MainArticle|Beginner's Guide}}.

Errors

This template does not return any errors, however if you forget to include a link, it will make a link back to the front page.