Jump to content

User:DePiep/help/wikicode-&-html

From Wikipedia, the free encyclopedia
USER: /home-E /subpg · /sbox-E · /1 2 3 4 5 6  · {{X32}} (E) /help* /news /s-E /x-E /xx-E /row-E  EXTERNAL: EL:w3c-css · TOOLS: WD: rgx101 PETSCAN  · wtech /tpu · commons
WIKI: special:ExpandT Prefix (T:list) #parse {{MAGIC}} H:notes · _TOC_ WikiBlame mw:Lua man (patterns, debug, α) · T:SFW/s (M:,../sandbox· M:String · TFA /better signpost adnws · SPEEDY CFSD · alerts
/unicode: {{T:U+}} m:Uchar · U+abbr · {{ISO15924}} ff conv · {{ISO4217}} BOXES: /chembox /ChemData  · /drugbox T · TG · DEV: /CUR · /taxo · /chemlist · NBSP> < minus>−< NDASH>–< MDASH>—< NOT EQUAL>≠< DOTCIRCLE>◌<
ELEM: pv
/elem · WT · ISO-T symbol-to-data · datarefs · :c:cat:PT · U:PTG · WP:PTG (t)
This box: view · edit

template develop[edit]

{{Template draft}} good

#tag[edit]

  • {{#tag|ref|..}}
mw:Help:Magic words § Miscellaneous
{{#tag:tagname
|content
|attribute1=value1
|attribute2=value2
}}

#if:-options[edit]

todo
same for named params and numbered params?
mw:Help:Extension:ParserFunctions
User:DePiep/help/demo1
User:DePiep/help/demo2 proof of concept
  • WITH BAR {{#if:{{{1|}}}|A|B}}
  • WITHOUT BAR {{#if:{{{1}}}|Y|Z}}

=blank-vs-absent params[edit]

To explore:

lists[edit]


demo2[edit]

Green tickY set 20:25, 25 October 2022 (UTC)

1. nothing:

ABYblank: >=>_absent_<

2. |1=}}

ABYblank: >=>_blank_<

3. |1=sunday}}

ABYblank: >sunday=>_value_<

4. unnamed, blank: |}}

ABYblank: >=>_blank_<

5. unnamed: |sunday}}

ABYblank: >sunday=>_value_<

9. 1=absent: |2=sunday}}

ABYblank: >=>_absent_<

demo1[edit]

1. nothing:

AB w/ bar: >=>B<
YZ no bar: >=>Y<

2. |1=}}

AB w/ bar: >=>B<
YZ no bar: >=>_blank_<

3. |1=sunday}}

AB w/ bar: >sunday=>A<
YZ no bar: >sunday=>Y<

4. unnamed, blank: |}}

AB w/ bar: >=>B<
YZ no bar: >=>_blank_<

5. unnamed: |sunday}}

AB w/ bar: >sunday=>A<
YZ no bar: >sunday=>Y<

{{if empty}}[edit]

WP:TABLE[edit]

row numbers[edit]

{{Row numbers}}


a 2 3
1 ABC 99
2 DEF 11


highlight syntax code[edit]

mw:Extension:SyntaxHighlight#line

char[edit]

  • |½|¼|¾|⅐|⅑|⅒|⅓|⅔|⅕|⅖|⅗|⅘|⅙|⅚|⅛|⅜|⅝|⅞|⅟|↉|

gadgets[edit]

useful links, T:help[edit]