Movatterモバイル変換


[0]ホーム

URL:


Jump to content
Wikimedia Commons
Search

Commons:Link templates

From Wikimedia Commons, the free media repository

[edit subpage]

Category link

[edit]
CodeResultEquivalent
Categories existing on Commons

{{C|Link templates}}

Link templates[[:Category:Link templates|Link templates]]

{{C|Link templates|Display name}}

Display name[[:Category:Link templates|Display name]]

{{C|Link templates|3=X}}

Link templates[[:Category:Link templates|Link templates]]

{{C|Link templates|3=x}}

Link templates[[:Category:Link templates|Link templates]]

{{C|Link templates|3=B}}

[[Link templates]](special output display)

{{C|Link templates|3=-}}

Category:Link templates(special output display)

{{C|Link templates|3=+}}

Category:Link templates(special output display)

{{Cl|Link templates}}

Category:Link templates[[:Category:Link templates]]
CategoriesNOT existing on Commons

{{C|Category name}}

Category name[[:Category:category name|category name]]

{{C|Category name|Display name}}

Display name[[:Category:Category name|Display name]]

{{C|Category name|3=X}}

Category name(special output display)

{{C|Category name|3=x}}

Category name(special output display)

{{C|PowerHaus|3=X}}

PowerHaus(not-empty not-existing category)

{{C|PowerHaus|3=x}}

PowerHaus(not-empty not-existing category)

{{C|Category name|3=x}}

[[Category:Category name]](special output display)

{{Cl|Category name}}

Category:Category name[[:Category:Category name]]
Categories on other wikis (e.g. below on Portuguese Wikipedia), existence not tested

{{C|!Predefinições por função|Predefs|pt}}

Predefs[[:pt:Category:!Predefinições por função|Predefs]]

{{C|XyzXyz||pt}}

XyzXyz[[:pt:Category:XyzXyz]]

[edit subpage]

File (image) / media links

[edit]
CodeResult

{{F|Example.jpg|DisplayName|16}}

DisplayName

{{Im|Example.jpg}}

Example.jpg

{{Lim|Example.jpg}}

File:Example.jpg(edit|talk|history|links|watch|logs)

{{Idl|Example.jpg}}

File:Example.jpg(edit talk history logs links usage del)

{{Il|Example.jpg}}

File:Example.jpg (edit ·last ·history ·watch ·unwatch ·global usage ·logs ·purge ·w ·search ·links ·DR ·del ·undel ·Delinker log)

{{Media|Example.ogg}}

Example.ogg (info)

{{Mli|Example.ogg}}

()

{{Mli|Example.ogg|file}}

(file)

{{Audio|Example.ogg|File name}}

File name

{{Audio2|Example.ogg|File name}}

File name (listen)

[edit subpage]

General Interwiki link

[edit]
Template{{W}} - examplesshortResultlinks to
{{w||en:WP}}{{W}}en:WPen:Main page
{{w|Braille#Lletres i nombres||ca)}}Braille#Lletres i nombresca:article page
{{w|template:Commonscat||de}}{{Wd|template:Commonscat}}template:Commonscatde:Vorlage:Commonscat
{{w|category:Liste d'artistes||fr}}{{Wf|category:Liste d'artistes}}category:Liste d'artistesfr:Catégorie:Liste d'artistes
{{w|file:Coverkill.jpg||pt}}{{Wp|file:Coverkill.jpg}}file:Coverkill.jpgpt:Ficheiro:Coverkill.jpg
{{w|user:Feketetomi||hu}}{{Wh|user:Feketetomi}}user:Feketetomihu:Szerkesztő:Feketetomi
{{w|talk:Merano#Rino Gaetano e Merano|3=it)}}{{Wi|talk:Merano#Rino Gaetano e Merano)}}talk:Merano#Rino Gaetano e Meranoit:Discussione:Merano
{{w|Carnivora||wikispecies)}}{{W|Carnivora||species)}}CarnivoraWikispecies:Carnivora

In all Wikis, the English namespaces (e.g. file, user) work as well as the different national ones.

{{Multilingual link}} creates a link to Wikipedia article in user's interface language.

[edit subpage]

Template links

[edit]
List of templates using{{T/main}}
CodeResultNoteslock

{{T|example}}

{{Example}}makes brackets part of the link

{{T0|example}}

Examplejust link, without the brackets

{{T1|example}}

{{Example}}inner brackets are part of the link

{{T2|example}}

{{Example}}brackets are not a part of the link

{{Tl|example}}

{{Example}}makes brackets around the link

{{Tlr|User:Example}}

{{User:Example}}like{{tl}} but for any namespace

{{Tls|example}}

{{subst:example}}no parameters, adds "subst:"
Templates showing parameters0Meta template {{Tle}} is easiest to parametrize.

{{Tle|T=F|p1=1|v1|p2=2|v2|p3=3|v3}}

{{ F |1 = v1 |2 = v2 |3 = v3 }}describes template parameters by names and values

{{Tlx|example|1|2|3|4|5||7|8|9}}

{{example|1|2|3|4|5|7|8|...}}up to 8 parameters

{{Tlf|example|1|2|3|...up to 8}}

{{example|1|2|3|...up to 8}}up to 8 parameters, no link

{{Tlc|example|1|2|3|4|||7|up to 8|9 is ignored.}}

{{example|1|2|3|4|||7|up to 8}}up to 8 parameters, no link,<code> style

{{Tld|example|1|2||3||}}

{{example|1||2|3||}}up to 8 parameters,<code> style[clarification needed]

{{Tlsu|User:Example}}

{{subst:User:Example}}like{{Tls}}, but supporting parameters
Alternative forms0These ignore empty parameters.

{{Tlp|example|1|2|3|4|5||7|8|9 is ignored.}}

{{example|1|2|3|4|5|7|8}}up to 8 parameters; ignores empty parms

{{Tl2|example|p1|p2}}

{{example|p1|p2}}up to 2 parameters,<code> style

{{Tlsp|example|1|2|3|4|5|6|7|8|9}}

{{subst:example|1|2|3|4|5|6|7|8|...}}up to 8 parameters, adds linked "subst:"

{{Tlsx|example|1|2|3|4|5|6 and above are ignored.|7}}

{{subst:example|1|2|3|4|5|...}}up to 5 parameters, adds linked "subst:",<code> style

General-purpose formatting

[edit]
Comparison of template-linking templates according to the styles of generated text and link produced
Text style ↓{{tlg}} options[note 1]
to achieve text style
Link style
LinkedUnlinkedLinked with substUnlinked with substLinked including braces
{{tlg}} options[note 1]
to achieve link style
N/ADEFAULTnolink=yessubst=yesnolink=yes|subst=yesbraceinside=yes
normalDEFAULTN/A
codecode=yes
N/A
monospacemono=yes[note 4]N/A
N/A
plaincodeplaincode=yes[note 5]
kbd[clarification needed]kbd=yes[note 6]
  1. abc{{tlg}} is the most general template, allowing any combination of text style and/or link style options.
  2. abcdePrevents wrapping of text by placing it inside<spanclass="nowrap">...</span> tags.
  3. abcAllows links to templates in any namespace.
  4. abcdDisplays monospaced font using<spanstyle="font-family: monospace;">...</span>.
  5. {{tlg|plaincode=yes}} uses<codestyle="border: none; background-color: transparent;">...</code>.
  6. {{tlg|kbd=yes}} uses<kbd>...</kbd>.

User and user talk links

[edit]
CodeResult[1]Shortcut

{{U|Example}}

Example    links to user page

{{Uc|Example}}

Example    conditional link tocontributions page

{{Ud|Example}}

Example    links toGerman user page=
{{Ue|Example}}Example    links toEnglish user page (not yet a template)=

{{Un|Example}}

‍Example    doesnot link to user page; noecho function

{{Ut|Example}}

Example    links to usertalk page

{{Uw|Example}}

Example    trails the given name with "~commonswiki"

{{Uwt|Example}}

Example    links to the talk page of "~commonswiki" user

{{Userlist|Example}}

Example    Lua based list of one or more users{{ Ul }}
WWWCombinations:

{{UL2.0|Example}}

Example(talk)Customizable template

{{Ult|Example}}

Example (talk)

{{User|Example}}

Example (talk ·contribs)

{{Uv|Example|:en:}}

:en:Example (talk |contribs)~

{{User2|Example}}

Example(talk ·contributions ·Statistics)

{{User3|Example}}

Example(talk ·contributions ·Move log ·block log ·uploads ·Abuse filter logblock user{{Vandal}}

{{User4|Example}}

Example (local |logs |global )

{{User5|Example}}

Example(talk ·contributions ·Statistics ·Recent activity ·block log ·User rights log ·uploads ·Global account information) (assign permissions)

{{User6|Example}}

Example(talk ·contributions ·Move log ·Statistics ·logs ·block log)

{{User7|Example}}

Example(talk ·contributions ·user rights management)

{{User8|Example}}

Example (talkcontribsblock logfilter log)

{{User13|Example}}

Example (talk·contribs·logs·block log)

{{User14|Example}}

Example (talk ·contributions (views) ·deleted user contributions ·deleted uploads ·recent activity (talk ·project ·deletion requests) ·logs ·block log ·global contribs ·CentralAuth)

{{User21|Example}}

Example (talk ·contribs ·count ·global contribs)

{{Userlinks|Example}}

Example (talk ·contribs ·deleted contribs ·logs ·edit filter log ·block user ·block log)

{{Admin|Example}}

Example (talkcontribsblocksprotectionsdeletionsmovesrightsrights changes){{ A }}

{{UserSUL|Example}}

Example (talk • contribs • rename user)

{{BotUser|Example}}

Example (contribs)

{{Newbot|Example}}

taskscontribscountlogspage movesblock userblock logflag logglobal contribsflag bot

{{Checkuser|Example}}

Example (talkcontribsLuxoSULdeleted contribslogsblock userblock logcheckuser)
  1. Interwiki template: Interwiki access(with 3=language code)

Be aware that other templates may use the parameter "editor" or "by" for the same purpose.

Retrieved from "https://commons.wikimedia.org/w/index.php?title=Commons:Link_templates&oldid=372667277"
Categories:
Hidden category:

[8]ページ先頭

©2009-2026 Movatter.jp