Vorlage:Comment: Unterschied zwischen den Versionen
Aus Haus Kormin
Luhan (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Luhan (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 48: | Zeile 48: | ||
}} | }} | ||
</div><div style="border-left:3px solid #cdcfff; background:ghostwhite; font-family: Tahoma; font-size:13pt; margin-left:15px; margin-right:15px; margin-bottom:10px; display:grid; grid-template-columns: 50px auto; grid-gap: 10px;"> | </div><div style="border-left:3px solid #cdcfff; background:ghostwhite; font-family: Tahoma; font-size:13pt; margin-left:15px; margin-right:15px; margin-bottom:10px; display:grid; grid-template-columns: 50px auto; grid-gap: 10px;"> | ||
<div style="grid-column: 1 / span 1; grid-row: 1 / span | <div style="grid-column: 1 / span 1; grid-row: 1 / span 2; font-size:50pt;margin-left:10px;">❝</div> | ||
<div style="grid-column: 2 / span 1; grid-row: 1 / span 1; margin-top:30px; margin-right:30px;">{{{CONTENT|}}}</div> | <div style="grid-column: 2 / span 1; grid-row: 1 / span 1; margin-top:30px; margin-right:30px;">{{{CONTENT|}}}</div> | ||
<div style="grid-column: 2 / span 1; grid-row: 2 / span 1;margin-bottom:15px; font-size:14pt;"><ul><li>{{#var:SOURCE}} über {{#var:TARGET}}</li></ul></div> | <div style="grid-column: 2 / span 1; grid-row: 2 / span 1;margin-bottom:15px; font-size:14pt;"><ul><li>{{#var:SOURCE}} über {{#var:TARGET}}</li></ul></div> | ||
</div> | </div> | ||
Version vom 9. Januar 2026, 16:55 Uhr
Version
Version 1.0
Purpose
The template "Comment" creates and stores any kind of opinion or idea from something/someone about something/someone. The information can be queried and used somewhere else.
A "comment" means here: Create some "content" and link it to a "source" and a "target". Source and Target may be anything: A person, a town, a guild, a concept like "Magie" or anything else someone could have an opinion to.
The usage of the template "comment" allow to reuse this content on different location: A person which makes a comment about a spell could embed this comment not only on his page, but also on the spells page. Or somewhere else.
Parameters
TARGET = <target> # the target of a comment, default: current page SOURCE = <source> # the source of a comment, default: current page CONTENT = <text> # the content of the coment
Examples
Format the comment just like the box.
Code:
{{Comment|TARGET=Hans Wurst|CONTENT=This is my comment}}
Result:
Hans Wurst
This is my comment