Benutzer:W!B:/S/Z
aus Wikipedia, der freien Enzyklopädie
< Benutzer:W!B: | S
Dies ist die aktuelle Version dieser Seite, zuletzt bearbeitet am 20. Juni 2009 um 11:17 Uhr durch imported>W!B:(91108) (..).
Zelle«{{{1}}}» (fehlt: übergabe 2)·
- Function
Vorlage:Stammbaum/Zelle -> eine ZELLE der Stammbaums (entspricht Vorlage:Stammbaum/step2)
- Input
- 1 … Inhalt der Stammbaumzelle (Muster, oder Variable)
- 2 … Inhalt der Variable | leer
- out … output [ HTML | WIKICODE | DEBUG || default:noOUT ]
- mode … mode of output [ (parameter see there resp.)| DEBUG || ?:noMODE ]
- Code
*** SOURCE *** {{ #ifeq:{{{mode}}}|DEBUG|<br />''./S/Z:''<br />1=«{{{1}}}» 2=«{{{2}}}» out=«{{{out}}}» mode=«{{{mode}}}» CELL out='''„''' }}{{<!-- // test again for undef, giving "{{{«nr.»}}}" as string sic; -->#ifeq:"{{{2}}}"|"{{{}}}"|{{<!-- //do not call --> #ifeq:{{{mode|DEBUG}}}|DEBUG|<small> '''do not call syntax'''</small>}}|{{<!-- //call cell --> Benutzer:W!B:/S/{{{out|DEBUG}}}|CELLSTART|MODE={{{mode}}} }}{{ Benutzer:W!B:/S/{{{out|DEBUG}}}|{{{1}}}|MODE={{{mode}}} }}{{ #ifeq:{{{mode|DEBUG}}}|DEBUG|<small> (fehlt: übergabe 2)</small> }}{{ Benutzer:W!B:/S/{{{out|DEBUG}}}|CELLEND|MODE={{{mode}}} }} }}{{ #ifeq:{{{mode|}}}|DEBUG|'''“'''<br />''Eo./S/Z'' }} *** EoSOURCE *** --- Ver alpha --- {{#switch: {{{mode}}} | HTML = ::::fehlt | WIKICODE = <!-- {{!}}{{{1}}}--> {{#switch: "{{{1}}}" | "" = {{!}} <!-- oder --> | " " = {{!}} | " " = {{!}} | #default = {{#ifeq:"{{{2}}}"|"{{{}}}"||{{!}}{{{1}}}}}<!-- // test again for undef, giving "{{{«nr.»}}}" as string sic; // ‎ (left-to-right direction mark) see :mw:Extension:ParserFunctions#Stripping whitespace: // stops whitespace suppresson of return code --> }} | KOMM = {{#ifeq:"{{{2}}}"|"{{{}}}"||'''Zelle«{{{1}}}»'''·}} | #default = <small>'''S/Z''' k.m.</small> }} *** EoSOURCE *** {{((}}{}{{))}} im #ifeq:"{{{2}}}" ist unnötig