Vorlage:Anmerkung: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Root (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<includeonly><div id="shbox" role="note" style="background-color: #eeeef6; border: 1px solid LightGray; font-size: 0.9em; margin: 0.75em 2.5em; padding: 0.2em 0.75em;"> x32px|alt=Light bulb|link=|Note icon '''{{#switch:{{#titleparts:{{PAGENAME}}| |-1}} | cs = Poznámka | de = Hinweis | en = Note | es = Nota | fi = Huomaa | fr = Remarque | pl = Uwaga | pt = No…“) |
Root (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
<includeonly><div id="shbox" role=" | <includeonly><div id="shbox" role="Anmerkung" style="background-color: #eeeef6; border: 1px solid LightGray; font-size: 0.9em; margin: 0.75em 2.5em; padding: 0.2em 0.75em;"> | ||
[[File:Nuvola apps ktip.png|x32px|alt=Light bulb|link=| | [[File:Nuvola apps ktip.png|x32px|alt=Light bulb|link=|Anmerkung icon]]  '''{{#switch:{{#titleparts:{{PAGENAME}}| |-1}} | ||
| cs = Poznámka | | cs = Poznámka | ||
| de = Hinweis | | de = Hinweis | ||
Zeile 13: | Zeile 13: | ||
}}:''' {{{1}}}</div></includeonly><noinclude> | }}:''' {{{1}}}</div></includeonly><noinclude> | ||
This template generates a hint box. Include this text into the article to use this template… | This template generates a hint box. Include this text into the article to use this template… | ||
<syntaxhighlight lang="html+handlebars" style="font-weight: 600; margin-left: 2.5em; width: 25vw;">{{ | <syntaxhighlight lang="html+handlebars" style="font-weight: 600; margin-left: 2.5em; width: 25vw;">{{Anmerkung|Your note text}}</syntaxhighlight> | ||
…which results in…{{ | …which results in…{{Anmerkung|Your note text}} | ||
The template is language aware: this means the text "Note" will be translated to the language of the page which includes the template. If it isn't translated, please add the translation. | The template is language aware: this means the text "Note" will be translated to the language of the page which includes the template. If it isn't translated, please add the translation. |
Version vom 10. Dezember 2023, 17:47 Uhr
This template generates a hint box. Include this text into the article to use this template…
…which results in…
{{#switch:{{#titleparts:Anmerkung| |-1}}
| cs = Poznámka | de = Hinweis | en = Note | es = Nota | fi = Huomaa | fr = Remarque | pl = Uwaga | pt = Nota | ru = Примечание | #default = Note}}: Your note text
The template is language aware: this means the text "Note" will be translated to the language of the page which includes the template. If it isn't translated, please add the translation.