Join the Fediverse:Template guide: Difference between revisions

m
Line 38: Line 38:


Here's a list of some templates and how to use them.
Here's a list of some templates and how to use them.
===Important basic templates===
We do some things differently in this wiki than elsewhere, because we use the translate extension and not have different wikis in every language (like Wikipedia).<br>
The following two templates make sure that links and categories also work on translated pages.
====Internal links====
For internal links, instead of e.g. <nowiki>[[Main Page]]</nowiki> to link to the [[Main Page]] we use <nowiki>{{Internal Link |target=Main Page |link-name=Main Page}}</nowiki>.
====Categories====
Instead of <nowiki>[[Category:Category name]]</nowiki> to add a category to a page we use <nowiki>{{category |category=Category name}}</nowiki>.


===Infobox templates===
===Infobox templates===