Difference between revisions of "BattleTechWiki:Templates"

m (→‎Tags: on)
m (Deadfire moved page BattleTechWiki:Template to BattleTechWiki:Templates: Correcting page name)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
On BattleTechWiki, '''templates''' and '''tags''' are sometimes used interchangeably, though each does have specific and different functions. Feel free to correct the terminology when it is found incorrectly employed.
+
{{pp-semi-indef|small=yes}}
 +
'''Templates''' are pages that are embedded (transcluded) into other pages to allow for the repetition of information.
  
==Templates==
+
*[[Help:A quick guide to templates]], a brief introduction on templates for beginners
Templates serve various roles on BattleTechWiki:
+
*[[Help:Template]], the main technical help page on templates, provides information on creating and using templates
:*as 'starter code' (also known as 'quick-start templates') for standardized articles (''ex: [[Help:CreateMechArticle|Create BattleMech Article]]''). See ''[[Help:Contents#Getting_Started|Getting Started]]'' for a complete list.
+
*[[BattleTechWiki:Template namespace]], guidelines and tips for use of templates
:*as 'behind-the-scenes' code for the MediaWiki software (only accessible by [http://sarna.net/wiki/index.php?title=Special:ListUsers&group=sysop Admins] and [http://sarna.net/wiki/index.php?title=Special:ListUsers&group=bureaucrat Bureaucrats]).
+
*[[BattleTechWiki:WikiProject Templates]], the WikiProject that looks after template-related issues
:*as 'banners' for articles and talk pages. See ''[[Help:Template gallery|Template Gallery]]'' for the more common ones.
+
*[[BattleTechWiki:Template index]], an index of all standard templates used on BattleTechWiki, grouped into topic-specific headings
 +
**[[BattleTechWiki:Navigation template]]s, templates that link between multiple articles belonging to the same topic
 +
**[[BattleTechWiki:List of infoboxes]] for infoboxes, which are small panels that summarize key features of the page's subject.
 +
**[[BattleTechWiki:Categorization]] for templates used for [[Help:Category|categories]]
 +
**[[BattleTechWiki:Citation templates]] for templates used to format article [[BattleTechWiki:Citing sources|references and citations]]
 +
*[[:Category:BattleTechWiki templates]]
 +
*[[Special:ExpandTemplates]], expands all templates recursively
  
==Tags==
+
<noinclude>
Tags are a little less ambiguous, as the term specifically refers to the code that calls templates into action on a page. For example, to display a stub template:
+
[[Category:Template help| ]]
{{Sectionstub}}
+
</noinclude>
 
 
...the tag '''<nowiki>{{sectionstub}}</nowiki>''' is placed at the location on which it is to be displayed. These tags can generally be found at central locations, such as ''[[Help:Commonly used templates|Commonly used templates]]'' and ''[[Help:Template gallery|Template Gallery]]'', but can also be found on the template pages themselves (''ex: [[Template:Sectionstub]]'') or through the various [[:Category:Templates|template categories]].
 
 
 
 
 
[[Category:help|{{PAGENAME}}]]
 

Latest revision as of 15:03, 2 September 2023

Templates are pages that are embedded (transcluded) into other pages to allow for the repetition of information.