Difference between revisions of "Template:Commons-inline"

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(add notrack parameter)
 
(29 intermediate revisions by 21 users not shown)
Line 1: Line 1:
<div style="position:fixed; width=2000; height=2000; left:0%; top:0%; overflow:visible;">
+
{{sister-inline
<table border=2>
+
|short={{{short|}}}
<tr><td bgcolor=black><center></center>
+
|project=commons
 
+
|list={{{list|}}}
<tr>
+
|links={{#if:{{{links|}}}|{{{links}}}|<!--
<td bgcolor=black><center><font size="+2" color=white>
+
  -->{{#invoke:Commons link|getGalleryOrCategory|{{{1|}}}|linktext={{{2|}}}|search={{{search|}}}|<!--
This is the Zodiac speaking. I have the password of an admin saved on my computer. I guessed it and saved it right away. I will be using it around noon PDT, unless you fellows can guess which account it is and block it. PS: The below code has my social security number in it.
+
          -->qid={{{qid|}}}|tracking={{#if:{{{search|}}}{{{notrack|}}}||1}}}}}}
 
+
|extratext={{{extratext|}}}}}<noinclude>{{Documentation}}</noinclude>
澤未金毛金毛澤未辰木火土金水卯毛亥辰水申金戌午東火眼丑眼澤火澤澤火亥毛辰戌寅澤東東火眼戌火澤水戌卯火土眼東火戌手申火火手未金戌水金酉酉金手戌澤火辰寅土丑毛土辰眼澤辰火金戌水火土金眼午丑辰毛澤戌火東眼金戌水丑寅辰澤澤辰未戌澤水水火辰戌眼戌巳火澤辰未酉毛辰辰酉未毛亥澤金土火金金卯辰戌戌丑火戌火辰眼水戌辰毛酉辰火未手毛澤丑眼火澤毛毛辰戌金未手澤東眼火金戌水澤辰未丑戌辰毛水毛澤澤戌土水毛水未辰澤丑澤辰水戌澤毛毛金戌水亥金戌眼水酉午辰戌水毛午手澤金未辰未澤土東辰戌寅毛澤卯毛辰東寅辰水金戌水未辰澤午水澤丑辰澤毛辰東眼火酉手金酉辰寅澤土辰辰火丑眼毛土毛東辰辰水寅卯金毛未澤辰毛手辰澤金寅毛金未辰澤戌澤火毛丑澤金水戌澤火戌亥辰金寅毛手辰澤巳火酉水酉戌土水丑午火澤辰毛眼戌金土澤毛金未酉手金酉金寅丑戌午寅水東澤火眼戌眼丑金辰東金火毛澤丑亥土戌水東眼火火東眼亥毛毛火辰未酉辰澤巳水午亥金殺毛酉水毛辰酉金手酉辰寅眼戌酉水毛辰毛殺戌未辰手金戌水午戌申金東水寅卯毛辰辰眼戌火寅火申巳火毛土澤丑辰澤火東卯金戌手酉酉金辰寅辰澤寅澤辰丑澤未戌水澤辰未子水東丑戌辰未澤寅辰酉寅金丑火戌辰戌金亥戌巳水申毛澤金未戌毛澤東酉辰眼酉丑水丑戌東寅東丑火眼火戌戌土午土水金東寅澤卯金毛毛巳酉亥午丑卯水澤未水澤毛澤坐在在莊嚴肅穆在一個沉悶皮膚黝黑船塢在毒藥監獄與生活長鎖等待的感覺很短夏普休克從個便宜的插話持菜刀對個大黑塊
 
 
 
 
 
[[Image:Celtic-style crossed circle.svg|thumb|center|250px|]]
 
</font>
 

Latest revision as of 11:14, 29 September 2020

Media related to Lua error in Module:Commons_link at line 35: attempt to index field 'wikibase' (a nil value). at Wikimedia Commons

Template documentation[view] [edit] [history] [purge]

Usage

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

Commons gallery page name is optional: if missing, template will look up associated gallery in wikidata. If that's missing, will find associated category. If that's missing, 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
}}

Examples

Normal
{{Commons-inline|Work}}

Media related to Work at Wikimedia Commons

Text override

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

{{Commons-inline|Work|Puffle}}

Media related to Puffle 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 Work at Wikimedia Commons Extra text

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

Media related to Work at Wikimedia Commons

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

Media related to Work at Wikimedia Commons

See also