(→CSS per page?) |
(→Fixed texts on a picture) |
||
Zeile 68: | Zeile 68: | ||
Greetz | Greetz | ||
--[[Benutzer:Heernis|Heernis]] ([[Benutzer Diskussion:Heernis|Diskussion]]) 18:57, 7. Mai 2019 (CEST) | --[[Benutzer:Heernis|Heernis]] ([[Benutzer Diskussion:Heernis|Diskussion]]) 18:57, 7. Mai 2019 (CEST) | ||
+ | :OK, why not? :) | ||
+ | :First, for translation, we can do it only from DE to EN. | ||
+ | :After, when I'm using untranslated '''general''' templates for the whole ryzom wiki, I do something like: | ||
+ | :*In the translated documentations, I write <nowiki>{{Trad|DE=Vorlage:Silan Karte Positionen|EN=Template:Positions in Silan Map|ES=<same as EN>|FR=<same as En>|RU=<same as EN>}}</nowiki> | ||
+ | :*In the others, only: <nowiki>{{Trad|DE=Vorlage:Silan Karte Positionen|EN=Template:Positions in Silan Map|ES=|FR=|RU=}}</nowiki> | ||
+ | :That way indicates that everybody is using the same template, but for ES, FR and RU the only translated are DE and EN. You or I can do it, as you want. | ||
+ | :Later, when people make de translation, of course, he has to change everywhere the content of Trad template. | ||
+ | :-- [[User:Zorroargh|Zo'ro-Argh]] <sup><small>[[User talk:Zorroargh|Woren Siloy]]</small></sup> 14:44, 8. Mai 2019 (CEST) |
Hello Zorroargh ;-)
Yes i can translate it into german.
Hello Zorroargh!
What do you think about adding this extension: https://www.mediawiki.org/wiki/Extension:CSS
The good thing: you can add some individual CSS for design proposes. Sometimes it is really helpful.
For example, you can add a css-file under Silan_Anleitung/Silan_Anleitung.css and put {{#css:Silan_Anleitung/silan_anleitung.css}} in Silan_Anleitung.
Everywhere where you put {{#css:Silan_Anleitung/silan_anleitung.css}} in the article i.e. the css will work.
OR
add it directly into the article: {{#css: body { background: yellow; font-size: 20pt; color: red; } }}
It would only work for the article, not the theme itself.
---Heernis (Diskussion) 11:25, 26. Apr. 2019 (CEST)
I made now successfully a template to add clickable (hyperlink) and with overlay on a picture.
Here you can see for what it will be used for:
Silan_Anleitung#Die_Silan_Karte
Template:
Vorlage:Silan Karte Positionen
Maybe add this also to other Wikis?
To let it work the right way, the picture have to be the exact same width and height. Then the positions can just copy and paste. You don't have to make a new picture and just add a new point on the map via template.
The template parameters are in german atm. I can translate it if it will be used.
Greetz --Heernis (Diskussion) 18:57, 7. Mai 2019 (CEST)