21,491
edits
(→Equivalent of {{t|Tag}}, but links to data items: variants for display a data item link) |
|||
== Equivalent of {{t|Tag}}, but links to data items ==
{{anchor|<nowiki>Equivalent_of_{{t|Tag}},_but_links_to_data_items</nowiki>}}
Usage:
* {{t|TagItem|key|value}}
: Thanks for the info. Documentation for the template would be useful. And maybe a different background color to distinguish these links from the regular ones. [[User:Maro21|maro21]] 22:43, 14 March 2024 (UTC)
:: I also had a similar question when I wanted to add a general [[Talk:Data_items#Link_to_data_item_in_description_box|link to data item to the tag description boxes]] ([[Template:Data item link]]). Unfortunately we don't have an icon for data items, like with [[:File:Taginfo-icon-1.svg|taginfo]]. Perhaps one of the following display variants can be used instead:
:# variant for link to <sup>#</sup><tt dir="ltr" class="mw-content-ltr" style="background:#EEF;font-size:1em;line-height:1.6">[[Special:ItemByTitle/wiki/Key:shop|shop]]=[[Special:ItemByTitle/wiki/Tag:shop=clothes|clothes]]</tt>
:# variant for link to <sup>d.i.</sup><tt dir="ltr" class="mw-content-ltr" style="background:#EEF;font-size:1em;line-height:1.6">[[Special:ItemByTitle/wiki/Key:shop|shop]]=[[Special:ItemByTitle/wiki/Tag:shop=clothes|clothes]]</tt>
:# variant for link to <sup>di</sup><tt dir="ltr" class="mw-content-ltr" style="background:#EEF;font-size:1em;line-height:1.6">[[Special:ItemByTitle/wiki/Key:shop|shop]]=[[Special:ItemByTitle/wiki/Tag:shop=clothes|clothes]]</tt>
:# variant for link to <sup>‹›</sup><tt dir="ltr" class="mw-content-ltr" style="background:#EEF;font-size:1em;line-height:1.6">[[Special:ItemByTitle/wiki/Key:shop|shop]]=[[Special:ItemByTitle/wiki/Tag:shop=clothes|clothes]]</tt>
:# variant for link to <sup>■</sup><tt dir="ltr" class="mw-content-ltr" style="background:#EEF;font-size:1em;line-height:1.6">[[Special:ItemByTitle/wiki/Key:shop|shop]]=[[Special:ItemByTitle/wiki/Tag:shop=clothes|clothes]]</tt>
:# variant for link to <tt dir="ltr" class="mw-content-ltr" style="font-size:1em;line-height:1.6;border:1px solid #333;">[[Special:ItemByTitle/wiki/Key:shop|shop]]=[[Special:ItemByTitle/wiki/Tag:shop=clothes|clothes]]</tt>
:# variant for link to <sup>d.i.</sup><tt dir="ltr" class="mw-content-ltr" style="font-size:1em;line-height:1.6;border:1px solid #333;">[[Special:ItemByTitle/wiki/Key:shop|shop]]=[[Special:ItemByTitle/wiki/Tag:shop=clothes|clothes]]</tt>
:: --[[User:Chris2map|Chris2map]] ([[User talk:Chris2map|talk]]) 11:57, 17 March 2024 (UTC)
|
edits