Template:Commons-inline/doc

Revision as of 07:49, 12 February 2023 by imported>W like wiki
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Lua error: Internal error: The interpreter exited with status 1. Lua error: Internal error: The interpreter exited with status 1. Lua error: Internal error: The interpreter exited with status 1. This template relies on Template:Sister-inline.

Usage

{{Commons-inline|Commons-gallery-page-name}}

Commons gallery page name is optional: if missing, the template will look up the associated gallery in Wikidata. If that's missing, it will find associated category. If that's missing, it will finally will fall back to Commons search.

Full syntax
{{Commons-inline
|list=                       wikitext for a list 
|links=                      wikitext to override default link 
|Commons-gallery-page-name= 
|extratext=                  extra text 
|search=                     string to search in Commons
|notrack=                    turn off tracking categories
|italic=                     italicize link text
}}

Examples

Normal
{{Commons-inline|Work}}

Media related to Lua error: Internal error: The interpreter exited with status 1. at Wikimedia Commons

Text override

Work is the link target and Puffle is the link label.

{{Commons-inline|Work|Puffle}}

Media related to Lua error: Internal error: The interpreter exited with status 1. at Wikimedia Commons

Full link override
{{Commons-inline|links=[[commons:Foo|]] and [[commons:Bar|]]}}

Media related to Foo and Bar at Wikimedia Commons

List format
{{Commons-inline|list=
* [[commons:Foo|Foo]]
* [[commons:Bar|Bar]]
* [[commons:Row|Row]]
* [[commons:Dee|Dee]]
}}

Related media at Wikimedia Commons:

Another list format, including Commons templates
{{Commons-inline|list=
:[[c:Commons:Timed Text|Commons:Timed Text]]
:{{[[Commons:Template:Captions requested|Captions requested]]}}
}}

Related media at Wikimedia Commons:

Commons:Timed Text
{{Captions requested}}
Extra text
{{Commons-inline|Work|extratext= Extra text}}

Media related to Lua error: Internal error: The interpreter exited with status 1. at Wikimedia Commons Extra text

Force Commons search
{{Commons-inline|search=Work}}

Media related to Lua error: Internal error: The interpreter exited with status 1. at Wikimedia Commons

Turn off tracking categories (for use inside other templates)
{{Commons-inline|Work|notrack=1}}

Media related to Lua error: Internal error: The interpreter exited with status 1. at Wikimedia Commons

Tracking categories

Normal categories

  • [[:Category:Lua error: Internal error: The interpreter exited with status 1.|Category:Lua error: Internal error: The interpreter exited with status 1.]] (0)
  • [[:Category:Lua error: Internal error: The interpreter exited with status 1.|Category:Lua error: Internal error: The interpreter exited with status 1.]] (0)

Maintenance categories

  • [[:Category:Lua error: Internal error: The interpreter exited with status 1.|Category:Lua error: Internal error: The interpreter exited with status 1.]] (0)
  • [[:Category:Lua error: Internal error: The interpreter exited with status 1.|Category:Lua error: Internal error: The interpreter exited with status 1.]] (0)
  • [[:Category:Lua error: Internal error: The interpreter exited with status 1.|Category:Lua error: Internal error: The interpreter exited with status 1.]] (0)
  • [[:Category:Lua error: Internal error: The interpreter exited with status 1.|Category:Lua error: Internal error: The interpreter exited with status 1.]] (0)

See also