नामालूम प्रयोगकर्ता
+full syntax, bullet documentation and examples; but first list item appears wrong
Content deleted Content added
imported>84user +full syntax, bullet documentation and examples; but first list item appears wrong |
|||
लाइन 8:
This template creates an inline link to Commons in list format.
; Full syntax
; Examples▼
<pre>
{{Commons-inline[|bullet=none][|list=wikitext for a list][|links=wikitext to override default link][|Commons-gallery-page-name]}}
</pre>
▲; Examples with bullet
* Normal
Line 24 ⟶ 29:
* List format
<pre>{{Commons-inline|list=
** [[commons:Foo|Foo]]
** [[commons:Bar|Bar]]
** [[commons:Row|Row]]
** [[commons:Dee|Dee]]
}}</pre>
{{Commons-inline|list=
** [[commons:Foo|Foo]]
** [[commons:Bar|Bar]]
** [[commons:Row|Row]]
** [[commons:Dee|Dee]]
}}
; Examples without bullet
* Normal
<pre>{{Commons-inline|bullet=none|Work}}</pre>
{{Commons-inline|bullet=none|Work}}
* Text override
<pre>{{Commons-inline|bullet=none|Work|Puffle}}</pre>
{{Commons-inline|bullet=none|Work|Puffle}}
* Full link override
<pre>{{Commons-inline|bullet=none|links=[[commons:Foo|]] and [[commons:Bar|]]}}</pre>
{{Commons-inline|bullet=none|links=[[commons:Foo|Foo]] and [[commons:Bar|Bar]]}}
* List format
<pre>{{Commons-inline|bullet=none|list=
** [[commons:Foo|Foo]]
** [[commons:Bar|Bar]]
** [[commons:Row|Row]]
** [[commons:Dee|Dee]]
}}</pre>
{{Commons-inline|bullet=none|list=
** [[commons:Foo|Foo]]
** [[commons:Bar|Bar]]
** [[commons:Row|Row]]
** [[commons:Dee|Dee]]
}}
|