Jump to content

Stampa:Paragraph break/doc/arc

Nga Wikipedia, enciklopedia e lirë

== switch:lang ==
(switch:lang) print (Ju u bllokuat per {{{time|}}} ... ne Wikipedia). (if:reason or if:arsyeja) ? (switch:lang) print (Per shkak te aksioneve tuaja:) : print (null)

{{#switch:{{{time|}}}<!--(show time in respective lang)-->
 | 1h = 1
 | 2h = 2
 | 6h = 6
 | 1d = 1
 | 3d = 3
 | 1j = 7
 | 2j = 14
 | 1m = 1
 | 3m = 1
 | 1y = 1
 | default = {{{time|}}}
}}

// (switch:arsyje) in (lang)
{{#switch:{{lc:{{{arsyeja|}}}}}
| insulting
| fyerje = {{#switch:{{lc:{{{lang|}}}}}
      | en = Insulting another user
      | sq = Fyerje ndaj një përdoresi tjetër
  }}
...
}}

[[Stampa:Pb]], real changes doc for implementation and module segmentation
Using Pb, Pb : main

// segmentation /bmes
take (lang, time, arsyeja) from main, transform (lang:1, time:2, arsyeja:3) in Pb/bmes
   (call) Pb/bmes (1, 2, 3)

// segmentation /arsyet
take (lang, arsyeja) from main, transform (lang:1, arsyeja:2) in Pb/arsyet
   (call) Pb/arsyet (1, 2)