Vorlage:Charbox: Unterschied zwischen den Versionen

Aus Norien
Wechseln zu: Navigation, Suche
 
(21 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
<onlyinclude><includeonly>
 
<onlyinclude><includeonly>
{| class="darktable" style="float: right; width: 250px; margin: 0 0 .1em .5em; margin: .5em; border: 1px solid #111; background-color:#333;"
+
{{#ifeq: {{{npc}}} | yes |
{{#if: {{{name|}}} |
+
{{{!}} class="darktable" style="float: right; width: 350px; margin: 0 0 .1em .5em; margin: .5em; border: 3px solid #513F57; background-color: #333;" |
 +
{{{!}} class="darktable" style="float: right; width: 350px; margin: 0 0 .1em .5em; margin: .5em; border: 1px solid #111; background-color: #333;"
 +
}}
 
|-
 
|-
 
!colspan="2"|
 
!colspan="2"|
 +
{{#if: {{{name|}}} |
 
'''{{{name}}}'''}}
 
'''{{{name}}}'''}}
 
|-
 
|-
 
!colspan="2" |
 
!colspan="2" |
<div style="position:relative; border: 1px solid #111;">
+
<div style="position:relative; height: auto;">
 
{{#if: {{{image|}}} |
 
{{#if: {{{image|}}} |
 
[[Bild:{{{image}}}{{!}}300px{{!}}{{{name}}}]] |
 
[[Bild:{{{image}}}{{!}}300px{{!}}{{{name}}}]] |
Zeile 13: Zeile 16:
 
}}
 
}}
 
{{#if: {{{token|}}} |
 
{{#if: {{{token|}}} |
<div style="position:absolute; bottom: 0; left:0;">
+
<div style="position:absolute; bottom: 0; left:0; margin:1em; background-color:rgba(153,153,153,0.2); border-radius: 15px;">
[[Bild:{{{token}}}{{!}}50px]]
+
[[Bild:{{{token}}}{{!}}75x75px]]
 
</div>
 
</div>
 
}}
 
}}
Zeile 40: Zeile 43:
 
{{#if: {{{gesinnung|}}} |
 
{{#if: {{{gesinnung|}}} |
 
{{!}} <small>'''Gesinnung:'''</small>{{!!}} <small>[[Gesinnung{{!}}{{{gesinnung}}}]]</small>}}
 
{{!}} <small>'''Gesinnung:'''</small>{{!!}} <small>[[Gesinnung{{!}}{{{gesinnung}}}]]</small>}}
 +
|-
 +
{{#if: {{{gottheit|}}} |
 +
{{!}} <small>'''Gottheit:''' {{!!}} <small>[[{{{gottheit}}}]]</small>}}
 
|-
 
|-
 
{{#if: {{{klasse|}}} |
 
{{#if: {{{klasse|}}} |
Zeile 46: Zeile 52:
 
{{#if: {{{geburtsort|}}} |
 
{{#if: {{{geburtsort|}}} |
 
{{!}} <small>'''Geburtsort:''' {{!!}} <small>[[{{{geburtsort}}}]]</small>}}
 
{{!}} <small>'''Geburtsort:''' {{!!}} <small>[[{{{geburtsort}}}]]</small>}}
 +
|-
 +
{{#if: {{{angehoerige|}}} |
 +
{{!}} <small>'''Angehörige:''' {{!!}} <small>{{{angehoerige}}}</small>}}
 
|-
 
|-
 
|}
 
|}

Aktuelle Version vom 21. Februar 2016, 16:20 Uhr


Syntax

 {{charbox
 | name = 
 | image = 
 | token =
 | title = 
 | weitereTitle =
 | rasse =
 | geschlecht =
 | alter =
 | groesse =
 | gesinnung =
 | gottheit =
 | klasse =
 | geburtsort =
 | angehoerige = 
 | npc = 
 }}


Max Mustermann

Max Mustermann

Questionmark token.png

Rasse: Mensch
Geschlecht: männlich
Alter: 35
Größe: 190 cm
Gesinnung: absolut neutral
Gottheit: Kord
Klasse: Fighter
Geburtsort: Feldaburg
Angehörige: Maxina Mustermann (verheiratet)