Benutzer:Klabauterin/Vorlage/Sandform: Unterschied zwischen den Versionen

Aus GuildWiki
Wechseln zu:Navigation, Suche
(wer braucht schon Lesbarkeit? :>)
(noch nicht getestet / entkäfert)
Zeile 1: Zeile 1:
{|style="border:1px solid #eee;background-color:#{{Farbe|Nav|M}}"
+
<includeonly>
|
+
{{ #if: {{{bild| }}} | | {{ifexist| Bild:{{PAGENAME}}.jpg | | [[Kategorie:Bilder-Stub]] }} }}
{{#ifexpr: {{#len:{{{primär|}}} }} or {{#len:{{{sekundär|}}} }} or {{#len:{{{attr1|}}} }} |
+
{{ifexist| Bild:{{PAGENAME}} icon.png |  | [[Kategorie:Icon-Stub]] }}
{{{pipe}}style="border-collapse:collapse; border-color:#eee; width:100%; font-size: 90%;" border="1"
+
{{ #if: {{{farbe|}}} | [[Kategorie:Polymockfigur ({{{farbe}}})]] | [[Kategorie:Polymockfigur]]
{{pipe}}align="left" {{pipe}}{{#if: {{{primär|}}}|{{ {{Klassenkürzel|{{{primär}}}}} }}{{#if: {{{sekundär|}}}|{{ {{Klassenkürzel|{{{sekundär}}}}} }}|}} [[{{{primär}}}]] {{#if: {{{sekundär|}}}|/ [[{{{sekundär}}}]]|}}|}}
 
!align="right" width="50%"{{pipe}}{{#if: {{{attr1|}}}|[[Attribut|Attributverteilung]]|}}
 
{{pipe}}- valign="top"
 
{{#if: {{{attr1|}}}|
 
{{pipe}}align="left" {{pipe}}[[{{{attr1}}}]]
 
{{pipe}}align="right"{{pipe}}{{{verteilung1|}}}
 
}}
 
{{pipe}}- valign="top"
 
{{#if: {{{attr2|}}}|
 
{{pipe}}align="left" {{pipe}}[[{{{attr2}}}]]
 
{{pipe}}align="right"{{pipe}}{{{verteilung2|}}}
 
 
}}
 
}}
{{pipe}}- valign="top"
+
</includeonly>
{{#if: {{{attr3|}}}|
+
{| style="background-color:#FFF; margin: 0 0 0.5em 1em; border:1px solid silver; float:right; font-size:90%; text-align:left;" cellpadding="5" cellspacing="3" align="right"
{{pipe}}align="left" {{pipe}}[[{{{attr3}}}]]
+
! colspan="2" style="font-size:110%; text-align:center; background-color:lightblue;" | {{PAGENAME}}
{{pipe}}align="right"{{pipe}}{{{verteilung3|}}}
+
{{#ifeq: {{{spielbar|}}} | nein | |
 +
{{pipe}}-
 +
! colspan="2" {{pipe}} [[Bild:{{PAGENAME}}.jpg|center|160px]]
 
}}
 
}}
 +
|- valign="top"
 +
! style="background-color:lightblue;" | Typ  || [[Polymock]]
 +
|- valign="top"
 +
! style="background-color:lightblue;" | Ausgabe  || {{#ifeq: {{{spielbar|}}} | nein | nur Gegner | {{{ausgabe}}} }}
 +
|- valign="top"
 +
! style="background-color:lightblue;" | Farbe  || {{{farbe}}}
 +
{{#ifeq: {{{spielbar|}}} | nein | |
 
{{pipe}}- valign="top"
 
{{pipe}}- valign="top"
{{#if: {{{attr4|}}}|
+
! style="background-color:lightblue;" {{pipe}} Inventaricon  {{2pipe}} [[Bild:{{PAGENAME}} icon.png]]
{{pipe}}align="left" {{pipe}}[[{{{attr4}}}]]
 
{{pipe}}align="right"{{pipe}}{{{verteilung4|}}}
 
 
}}
 
}}
{{pipe}}- valign="top"
 
{{#if: {{{attr5|}}}|
 
{{pipe}}align="left" {{pipe}}[[{{{attr5}}}]]
 
{{pipe}}align="right"{{pipe}}{{{verteilung5|}}} }}
 
{{pipe}}} | }}
 
{| style="border:0; text-align: center; border-collapse:collapse;"
 
{{#if:{{{1|beliebig}}}| {{pipe}}style="vertical-align:top; width:{{{bildgr|66}}}px; border:1px dotted #444;" align="center"{{pipe}}
 
<div style="border:1px solid #000; margin:1px; width:{{{bildgr|64}}}px;">{{#dpl: title={{{1|beliebig}}} | noresultsheader = ²{Fertigkeitenleistebox/Unbekannt links}² | skipthispage = no | includepage={Infobox Fertigkeit} Bildpopup}}{{pipe}}{{{bildgr|64}}}px{{pipe}}{{{1|beliebig}}}]]</font></div>{{#if: {{{namen|}}}||<span style="font-size:smaller;">[[{{{1|beliebig}}}]]</span>}} |}}
 
{{#if:{{{2|beliebig}}}|{{pipe}}style=" vertical-align:top; width:{{{bildgr|66}}}px; border:1px dotted #444;" align="center" {{pipe}}
 
<div style="border:1px solid #000; margin:1px; width:{{{bildgr|64}}}px; align:center;">{{#dpl: title={{{2|beliebig}}} | noresultsheader = ²{Fertigkeitenleistebox/Unbekannt links}² | skipthispage = no | includepage={Infobox Fertigkeit} Bildpopup}} {{pipe}} {{{bildgr|64}}}px {{pipe}} {{{2|beliebig}}}]]</font></div>{{#if: {{{namen|}}}||<span style="font-size:smaller;">[[{{{2|beliebig}}}]]</span>}} |}}
 
{{#if:{{{3|beliebig}}}|{{pipe}}style=" vertical-align:top; width:{{{bildgr|66}}}px; border:1px dotted #444;" align="center" {{pipe}}
 
<div style="border:1px solid #000; margin:1px; width:{{{bildgr|64}}}px; align:center;">{{#dpl: title={{{3|beliebig}}} | noresultsheader = ²{Fertigkeitenleistebox/Unbekannt links}² | skipthispage = no | includepage={Infobox Fertigkeit} Bildpopup}} {{pipe}} {{{bildgr|64}}}px {{pipe}} {{{3|beliebig}}}]]</font></div>{{#if: {{{namen|}}}||<span style="font-size:smaller;">[[{{{3|beliebig}}}]]</span>}} |}}
 
{{#if:{{{4|beliebig}}}|{{pipe}}style=" vertical-align:top; width:{{{bildgr|66}}}px; border:1px dotted #444;" align="center" {{pipe}}
 
<div style="border:1px solid #000; margin:1px; width:{{{bildgr|64}}}px; align:center;">{{#dpl: title={{{4|beliebig}}} | noresultsheader = ²{Fertigkeitenleistebox/Unbekannt links}² | skipthispage = no | includepage={Infobox Fertigkeit} Bildpopup}} {{pipe}} {{{bildgr|64}}}px {{pipe}} {{{4|beliebig}}}]]</font></div>{{#if: {{{namen|}}}||<span style="font-size:smaller;">[[{{{4|beliebig}}}]]</span>}} |}}
 
{{#if:{{{5|beliebig}}}|{{pipe}}style=" vertical-align:top; width:{{{bildgr|66}}}px; border:1px dotted #444;" align="center" {{pipe}}
 
<div style="border:1px solid #000; margin:1px; width:{{{bildgr|64}}}px; align:center;">{{#dpl: title={{{5|beliebig}}} | noresultsheader = ²{Fertigkeitenleistebox/Unbekannt links}² | skipthispage = no | includepage={Infobox Fertigkeit} Bildpopup}} {{pipe}} {{{bildgr|64}}}px {{pipe}} {{{5|beliebig}}}]]</font></div>{{#if: {{{namen|}}}||<span style="font-size:smaller;">[[{{{5|beliebig}}}]]</span>}} |}}
 
{{#if:{{{6|beliebig}}}|{{pipe}}style=" vertical-align:top; width:{{{bildgr|66}}}px; border:1px dotted #444;" align="center" {{pipe}}
 
<div style="border:1px solid #000; margin:1px; width:{{{bildgr|64}}}px; align:center;">{{#dpl: title={{{6|beliebig}}} | noresultsheader = ²{Fertigkeitenleistebox/Unbekannt rechts}² | skipthispage = no | includepage={Infobox Fertigkeit} Bildpopup2}} {{pipe}} {{{bildgr|64}}}px {{pipe}} {{{6|beliebig}}}]]</font></div>{{#if: {{{namen|}}}||<span style="font-size:smaller;">[[{{{6|beliebig}}}]]</span>}} |}}
 
{{#if:{{{7|beliebig}}}|{{pipe}}style=" vertical-align:top; width:{{{bildgr|66}}}px; border:1px dotted #444;" align="center" {{pipe}}
 
<div style="border:1px solid #000; margin:1px; width:{{{bildgr|64}}}px; align:center;">{{#dpl: title={{{7|beliebig}}} | noresultsheader = ²{Fertigkeitenleistebox/Unbekannt rechts}² | skipthispage = no | includepage={Infobox Fertigkeit} Bildpopup2}} {{pipe}} {{{bildgr|64}}}px {{pipe}} {{{7|beliebig}}}]]</font></div>{{#if: {{{namen|}}}||<span style="font-size:smaller;">[[{{{7|beliebig}}}]]</span>}} |}}
 
{{#if:{{{8|beliebig}}}|{{pipe}}style="vertical-align:top; width:{{{bildgr|66}}}px; border:1px dotted #444;" align="center" {{pipe}}
 
<div style="border:1px solid #000; margin:1px; width:{{{bildgr|64}}}px; align:center;">{{#dpl: title={{{8|beliebig}}} | noresultsheader = ²{Fertigkeitenleistebox/Unbekannt rechts}² | skipthispage = no | includepage={Infobox Fertigkeit} Bildpopup2}} {{pipe}} {{{bildgr|64}}}px {{pipe}} {{{8|beliebig}}}]]</font></div>{{#if: {{{namen|}}}||<span style="font-size:smaller;">[[{{{8|beliebig}}}]]</span>}} |}}
 
 
|}
 
|}
{{#if: {{{code|}}}|
+
<noinclude>
{{{pipe}}style="background:transparent;width:100%;font-size: 90%;margin-top:2px;" cellspacing=0
+
[[Kategorie:Vorlage Infobox]]
{{pipe}}style="width:50%;border:none;padding-left:.3em;"{{pipe}}Vorlagencode:
+
==Einbinden==
{{pipe}}style="border:solid #eee 1px; background-color:white;padding-right:.2em;" align="right"{{pipe}}{{{code|noch kein Vorlagencode}}}
+
Die Polymock-Vorlage bindet man in den Artikel der Polymockfigur wie folgt ein:
{{pipe}}}
+
<pre>
 +
{{Infobox Polymock
 +
|ausgabe=Verliestruhe
 +
|farbe=gold
 
}}
 
}}
|}
+
</pre>
 +
==Die Parameter==
 +
*'''ausgabe''' (z.B. ''Polymock'')
 +
*'''farbe''' (z.B. ''gold'', ''lila'', ''weiß'')
 +
*'''spielbar=nein''' (bei NSC-Figuren)
 +
 
 +
</noinclude>
  
 
<noinclude>[[Kategorie:Vorlage Sandkasten]]</noinclude>
 
<noinclude>[[Kategorie:Vorlage Sandkasten]]</noinclude>

Version vom 21. April 2009, 09:08 Uhr

Klabauterin/Vorlage/Sandform
Typ Polymock
Ausgabe {{{ausgabe}}}
Farbe {{{farbe}}}
Inventaricon Datei:Klabauterin/Vorlage/Sandform icon.png

Einbinden

Die Polymock-Vorlage bindet man in den Artikel der Polymockfigur wie folgt ein:

{{Infobox Polymock
 |ausgabe=Verliestruhe
 |farbe=gold
}}

Die Parameter

  • ausgabe (z.B. Polymock)
  • farbe (z.B. gold, lila, weiß)
  • spielbar=nein (bei NSC-Figuren)