Hi, I need to crate a template, but really have a problem for the how to ... it might be easy, but I just can't find out how to do it.
For now I have every article with this headline:
<small> [[article/de|Deutsch]] - [[article/en|English]] - [[article/it|Italiano]] </small>
each page is linked to each other page with the same headline - I mean: article/de has this headline as well as article/en and article/it
what is equal to all is the first part of the article up to the slash
creating a template with {{PAGENAME}} does not work as the pagename is not unique.
is there a way how I can tell a template that it only must consider the pagename up to the "/" sign?
the reason I need this is that I plan to add further languages and just imagine you have 5000 pages sooner or later that all have this headline.
can someone help me with this?
thank you!!!
Ciao, Sabine
___________________________________ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.beta.messenger.yahoo.com
Replying to my own question - I just found it out:
Create a template like: Template:header <small> [[{{{name}}}/de|Deutsch]] - [[{{{name}}}/en|English]] - [[{{{name}}}/it|Italiano]] - [[{{{name}}}/nl|Nederlands]] </small> <br><br>
then on the page you insert:
{{header|name=articlename}}
Ciao, Sabine
Sabine Cretella wrote:
Hi, I need to crate a template, but really have a problem for the how to ... it might be easy, but I just can't find out how to do it.
For now I have every article with this headline:
<small> [[article/de|Deutsch]] - [[article/en|English]] - [[article/it|Italiano]] </small>
each page is linked to each other page with the same headline - I mean: article/de has this headline as well as article/en and article/it
what is equal to all is the first part of the article up to the slash
creating a template with {{PAGENAME}} does not work as the pagename is not unique.
is there a way how I can tell a template that it only must consider the pagename up to the "/" sign?
___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it
wikitech-l@lists.wikimedia.org