Шаблон:Para
Материал из Википедии — свободной энциклопедии
|
Шаблон для показа примеров кода параметров других шаблонов, используется в их документации и на страницах обсуждения. Сам этот шаблон имеет два собственных параметра: первый — название параметра для показа, второй (необязательный) — значение для показанного параметра. Другой вариант использования: если первый собственный параметр пустой, то второй обозначает пример неименованного параметра.
Использование
Код | Результат | Комментарий |
---|---|---|
((para|name)) | |name =
|
|
((para|title|<var>book title</var>)) | |title = book title
|
|
((para||section)) | |section
|
Так обозначается неименованный параметр |
((para|<var>parameter</var>|<var>value</var>)) | |parameter = value
|
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.