Predloga:Para
|
Uporaba
[uredi kodo]Ta predloga podaja primere uporabe parametrov v predlogah (uporabno na dokumentacijskih straneh predlog in pogovornih straneh predlog). Imeti mora enega ali dva parametra. Prvi je ime parametra v ustrezni predlogi in prikaže (lahko je prazen, ampak mora biti prisoten), in drugi (neobvezni) je vrednost prvega parametra v ustrezni predlogi, ali (če je prvi ((para))
parameter prazen) je parameter neimenovan.
Primeri
[uredi kodo]-
((para|name))
- se prikaže kot
|name=
-
((para|title|<var>book title</var>))
- se prikaže kot
|title=book title
-
((para| |section))
- se prikaže kot
|section
- (za neimenovane parametre v kodi ustrezne predloge; bodi pozoren na prazni prvi element v predlogi
((para))
)
-
((para|<var>parameter</var>|<var>value</var>))
- se prikaže kot
|parameter=value
Glej tudi
[uredi kodo]- Predloga:Tlx – za prikaz celotne kode predloge vkjučno s parametri
Text is available under the CC BY-SA 4.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.