More actions
Lelira cirim (talk | contribs) →Formatting templates: added expansion_past |
Lelira cirim (talk | contribs) →Creating and editing templates: template guide |
||
| Line 4: | Line 4: | ||
== Creating and editing templates == | == Creating and editing templates == | ||
Anyone can create or edit templates; it works just like editing pages! More advanced templates can take advantage of some programming capabilities, which can look daunting at first glance. Fortunately, Wikipedia has an excellent page on [https://en.wikipedia.org/wiki/Help:Template getting started with templates], which covers both basic and advanced templates. | Anyone can create or edit templates; it works just like editing pages! More advanced templates can take advantage of some programming capabilities, which can look daunting at first glance. Fortunately, Wikipedia has an excellent page on [https://en.wikipedia.org/wiki/Help:Template getting started with templates], which covers both basic and advanced templates. | ||
=== Naming templates === | |||
All templates, like all wiki pages and all uploaded files, must have a unique name. These names may even be expressed as <nowiki>{{multiple words}} or {{multiple_words}}</nowiki> as the wiki itself will convert the space to an underscore automatically when it creates the template page. | |||
If you are unsure what to name your template early on, choose something slightly cryptic instead of a common term that someone else may/has already used. That name will be reserved by the system indefinitely; please ask an administrator to help rename your template later, if necessary. | |||
== Using templates == | == Using templates == | ||