ਫਰਮਾ:Elc
[[{{{1}}}]]
This formats an example wikilink to show how it would be entered in wiki markup. The first parameter is the link destination. E.g. {{elc|Cookie}}
renders as [[Cookie]]
, the wiki markup for the wikilink Cookie. If a second parameter is given, a piped link is shown. E.g. {{elc|Cookie|Biscuit}}
renders as [[Cookie|Biscuit]]
, the markup for the wikilink Biscuit.
A third parameter, if supplied, is included as a suffix to demonstrate blended links; {{elc|Cookie|s}}
produces [[Cookie]]s
, the wiki markup for Cookies.
The short name {{elc}}
("example link, code") is chosen to be similar to the {{tlc}}
template which produces similar output, but for template links.
See also
ਸੋਧੋOther formatting templates
ਸੋਧੋCode example | Effect | Notes |
---|---|---|
{{tl2|Hatnote|lang=fr}} |
{{hatnote}} | Supports linking to sister projects (e.g., fr:Hatnote) |
{{tlu|User:Ahunt/SSHFS}} |
{{User:Ahunt/SSHFS}} | Supports linking to any namespace |
{{xpd|Hatnote|Some hatnote text}} |
"{{hatnote|Some hatnote text}}" gives " " "`UNIQ--gallery-00000011-QINU`"'__Some+hatnote+text%7D%7D%22 |
Shows code, example and a link to expand the template code |
{{para|title|<var>book title</var>}} |
|title=book title |
Formats template parameters for display, with or without values |
ਇਹ ਫਰਮਾ ਕਿਸੇ ਸ਼੍ਰੇਣੀ ਵਿੱਚ ਸ਼ਾਮਿਲ ਨਹੀਂ ਕੀਤਾ ਗਿਆ ਹੈ। ਕਿਰਪਾ ਕਰਕੇ ਇਸ ਵਿੱਚ ਸ਼੍ਰੇਣੀਆਂ ਸ਼ਾਮਿਲ ਕਰਕੇ ਵਿਕੀਪੀਡੀਆ ਦੀ ਮਦਦ ਕਰੋ। |