Vorlage:YggTab-old: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 2: | Zeile 2: | ||
{{#expr: | {{#expr: | ||
{{#if: {{{Bewohner|}}}| {{#expr: ceil({{#len:{{{Bewohner}}}}}/ | {{#if: {{{Bewohner|}}}| {{#expr: ceil({{#len:{{{Bewohner}}}}}/51)}} |0}} | ||
+ | + | ||
{{#if: {{{Besitzer|}}}| {{#expr: ceil({{#len:{{{Besitzer}}}}}/ | {{#if: {{{Besitzer|}}}| {{#expr: ceil({{#len:{{{Besitzer}}}}}/51)}} |0}} | ||
}} | }} | ||
Zeile 19: | Zeile 19: | ||
{{#vardefine: heightR |{{#if: {{{Text|}}}|{{#expr: ceil({{#len:{{{Text}}}}}/ | {{#vardefine: heightR |{{#if: {{{Text|}}}|{{#expr: ceil({{#len:{{{Text}}}}}/165)}}|0}}}} | ||
{{#ifeq: {{#var: heightL}}|0|Bitte fülle mindestens eins der Felder|}} | {{#ifeq: {{#var: heightL}}|0|Bitte fülle mindestens eins der Felder|}} | ||
{{#explode: {{Cutword|}}}} | {{#vardefine: Text1 |{{#explode: {{Cutword|{{#expr: {{#var: heightL}}*165}}|{{{Text}}}}}|%@%|0}}}} | ||
{{#vardefine: Text2 |{{#explode: {{Cutword|{{#expr: {{#var: heightL}}*165}}|{{{Text}}}}}|%@%|1}}}} | |||
{|class="wikitable" style="width: 80%;" | {|class="wikitable" style="width: 80%;" | ||
|- | |- | ||
|style="background-color:white; border-left:white solid; border-top:white solid; border-right:white solid;" | | |style="background-color:white; border-left:white solid; border-top:white solid; border-right:white solid;" | | ||
|style="width:10%; background-color:white; height:1px; border-left:white solid; border-top:white solid; border-right:white solid;" | | |style="width:10%; background-color:white; height:1px; border-left:white solid; border-top:white solid; border-right:white solid;" | | ||
|style="width:22%; background-color:white; border-left:white solid; border-top:white solid; border-right:white solid;" | | |style="width:22%; background-color:white; border-left:white solid; border-top:white solid; border-right:white solid;" | | ||
|- | |- | ||
|style="background-color:white; border-bottom:white solid; border-top:white solid; border-left:white solid; vertical-align:top;" rowspan="{{#var: heightL}}"| | |style="background-color:white; border-bottom:white solid; border-top:white solid; border-left:white solid; vertical-align:top;" rowspan="{{#var: heightL}}"| | ||
{{ | {{#var: Text1}} | ||
{{#if: {{{Bewohner|}}}|{{Yggtabpo|Bewohner|{{{Bewohner}}}}}|}} | {{#if: {{{Bewohner|}}}|{{Yggtabpo|Bewohner|{{{Bewohner}}}}}|}} | ||
{{#if: {{{Besitzer|}}}|{{Yggtabpo|Besitzer|{{{Besitzer}}}}}|}} | {{#if: {{{Besitzer|}}}|{{Yggtabpo|Besitzer|{{{Besitzer}}}}}|}} | ||
|} | |} | ||
{{#var: Text2}} | |||
{{#var: | |||
Version vom 11. Januar 2020, 22:09 Uhr
{{{Text}}}
|