The Wiki for Tale 8 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.
If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.
Difference between revisions of "User:Hands/Create a Template"
Jump to navigation
Jump to search
m (Removing reference to the "L" template as the page is not in the Main namespace) |
|||
(25 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[User:Hands |Back]] | [[User:Hands |Back]] | ||
+ | |||
+ | |||
+ | {{Languages}} | ||
+ | |||
'''Wie erstelle ich eine Template?''' | '''Wie erstelle ich eine Template?''' | ||
+ | Das ist ein<!-- unsichtbarer Kommentar im--> Text. <!--Zu lesen ist nur: Das ist ein Text.--> | ||
+ | |||
+ | |||
+ | {{template:atitd}} <!-- Wenn ich jetzt "save changes" drücke, erscheint 'template:atitd' rot. Das heisst, die Seite existiert noch nicht. Wenn ich dann diesen nicht existenten link anklicke, kann ich den text eingeben, der dann Inhalt der Template ist.--> | ||
+ | |||
+ | <!--Aber wie finde ich diese Seite wieder, um sie zu editieren, oder zu löschen? | ||
+ | For templates to be effective, users need to find them, and find out how to use them. | ||
+ | |||
+ | To find them, users can: | ||
+ | |||
+ | Click Special pages > All pages | ||
+ | In the Namespace: list, choose Template and click Go. | ||
+ | To give usage information, include an example like this one on the template page: | ||
+ | |||
+ | <noinclude> | ||
+ | == Usage == | ||
+ | Welcome users: | ||
+ | {{Thankyou|reason=your reason|signature=your signature}} | ||
+ | </noinclude> | ||
+ | Then, an editor can simply copy and paste the example to use the template. | ||
+ | ---------------- | ||
+ | Hilft das hier auch?: | ||
+ | A template page can be linked to like any other wiki page. For example, the link Template:Navbar is generated using the wikicode [[Template:Navbar]]. | ||
− | + | On many wikis, Template:Tl can be used to provide a link to a template formatted in a way that shows the "double curly-braces" wikicode necessary to transclude the template without actually doing the tranclusion. For example, the code {{tl|Navbar}} may be used to create the link {{Navbar}}. | |
− | {{ | + | This construct is commonly used in template documentation, on help pages, and on talk pages when referring to templates. The same effect can be achieved by using <code>{{[[Template:Navbar|Navbar]]}}</code>, but the {{tl}} approach involves much less typing. On any given wiki the Tl template, if it exists, may or may not render the text in a "code" element, as shown here. If not, another similarly named template may do so. See, for example, the "See also" section of the documentation of en:Template:Tl at the English Wikipedia. |
+ | --> | ||
− | + | {{Map Marker/Gold|region=Suez|coords=1643, 6497}} |
Latest revision as of 23:21, 18 March 2019
English | français |
Wie erstelle ich eine Template?
Das ist ein Text.
(MpAu) 1643, 6497, Gold
Suez (1643, 6497)