Help:Templates: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
(Moved Info from Discussion: Translation Requests)
(Added: Template:Cross-ref)
Line 1: Line 1:
Templates sind Vorlagen, die in einem Wiki verwendet werden können, um immer wiederkehrende Tastatureingaben zu vermeiden.
Sie erleichtern die Bearbeitung und Übersetzung und vereinheitlichen das Aussehen im Wiki.
== Existing Templates in the english TCWiki: ==
----
Template
[[Template:Cross-ref]]
{{cross-ref|Links= }}
----
Hello I have created three (or better six- as for 3 each language) Templates for the backlinks.
Hello I have created three (or better six- as for 3 each language) Templates for the backlinks.


Line 33: Line 52:
[[de:Template:en]]
[[de:Template:en]]


== Another Template ==
'''Another Template'''


I created another template:
I created another template:
Line 49: Line 68:
I editet the site for [[de:Eraser]] as example.
I editet the site for [[de:Eraser]] as example.


== Small bug in this template? ==
'''Small bug in this template?'''


I tried to edit: "http://www.ghisler.ch/wikide/index.php?title=Dateilistensymbole"<br/>
I tried to edit: "http://www.ghisler.ch/wikide/index.php?title=Dateilistensymbole"<br/>
Line 57: Line 76:
Please check it out, anyway a fantastic Idea! Maybe I did something wrong? --[[User:Stance|Stance]] 10:41, 30 Sep 2005 (EST)
Please check it out, anyway a fantastic Idea! Maybe I did something wrong? --[[User:Stance|Stance]] 10:41, 30 Sep 2005 (EST)


== No bug, a feature ;-) ==
'''No bug, a feature ;-)'''
Maybe I did not explain clearly:
Maybe I did not explain clearly:


Line 70: Line 89:


--[[User:Sheepdog|Sheepdog]] 13:51, 30 Sep 2005 (EST)
--[[User:Sheepdog|Sheepdog]] 13:51, 30 Sep 2005 (EST)
----





Revision as of 18:56, 1 October 2005

Templates sind Vorlagen, die in einem Wiki verwendet werden können, um immer wiederkehrende Tastatureingaben zu vermeiden.
Sie erleichtern die Bearbeitung und Übersetzung und vereinheitlichen das Aussehen im Wiki.



Existing Templates in the english TCWiki:


Template

Template:Cross-ref

Related articles:


Hello I have created three (or better six- as for 3 each language) Templates for the backlinks.

template:backlink

for use as first backlink

template:back

if more than one site is linked to the article to provide a second or more backlinks


and template:de for linking to the german Wiki.

Since it is not much mor comfortable to use these templates it provides at least a unique look of the Wiki.

To use these templates simply insert:

{{backlink|Link to the upper level|Label to be displayed}}
{{back| second Link to the upper level|Label of the second link}}

why we have to use 2 parameters pls have a look at the 'discussion' of these templates.

{{de|Link to the german article}}

I replaced the site

For the german Wiki are similar templates:

Another Template

I created another template:

Stance has prepared a nice page wich points to the english site if there is no translation available yet.

To not always have to write it again you could use the

Simply write

{{Übersetzung|link to english page|link to upper level}}

and you will get the site.

I editet the site for as example.

Small bug in this template?

I tried to edit: "http://www.ghisler.ch/wikide/index.php?title=Dateilistensymbole"
with that code: {{Übersetzung|Dateilistensymbole|Konfiguration}}
and I received a wrong entry in "Other language" ->Supposed to be the english name: "Filelist icons"
not: englisch: http://www.ghisler.ch/wiki/index.php/Dateilistensymbole
Please check it out, anyway a fantastic Idea! Maybe I did something wrong? --Stance 10:41, 30 Sep 2005 (EST)

No bug, a feature ;-) Maybe I did not explain clearly:

You need to find first the link to the english page and have to insert indeed

{{Übersetzung|Filelist icons|Konfiguration}}

How should the WIKI know where the related english page is? That you have to know.

BTW the idea is from Lefteous, I just had a look how to create and use templates.

--Sheepdog 13:51, 30 Sep 2005 (EST)