Template:AbbeyMayorLink/en

From Wikicarpedia
Jump to navigation Jump to search

Description

Creates translatable link for Abbey & MayorAbbey & Mayor expansion
Names used for link are defined in template Template:AbbeyMayorName. Check translated Template:AbbeyMayorName/en.
Documentation generated by Template:ExpansionLinkDocumentation.

Params

  • variant (optional) [long|short|number|numbered| -empty-] see Examples
  • edition (optional) [C1|-empty-] use C1, C2, C3 edition, which can affect name of expansion
  • logo (optional) [hide|noborder|-empty-] visualization of logo, see Examples
  • text (optional) allow to change text of link
  • anchor (optional) link will include also #anchor to specific part of page. This is NOT language neutral!
  • linkonly (optional). [ true | false ] When true return only link with anchor. Widely used in Template:Feature, Template:Figure and Template:Piece.

Examples

The output is generated by the buffer, after the change it is necessary to wait for a while)

edition is not defined
Wiki Output
{{AbbeyMayorLink}} Abbey & MayorAbbey & Mayor
{{AbbeyMayorLink|logo=hide}} Abbey & Mayor
{{AbbeyMayorLink|logo=noborder}} Abbey & Mayor Abbey & Mayor
{{AbbeyMayorLink|text=some text}} some textsome text
{{AbbeyMayorLink|variant=long}} Exp. 5 - Abbey & MayorExp. 5 - Abbey & Mayor
{{AbbeyMayorLink|variant=numbered}} 5. Abbey & Mayor5. Abbey & Mayor
{{AbbeyMayorLink|variant=number}} Exp. 5Exp. 5
{{AbbeyMayorLink|variant=short}} A&MA&M
{{AbbeyMayorLink|linkonly=true}} Abbey and the Mayor
{{AbbeyMayorLink|linkonly=true|anchor=example}} Abbey and the Mayor#example
{{AbbeyMayorLink|text=''}}



edition=C1
Wiki Output
{{AbbeyMayorLink|edition=C1}} Abbey & MayorAbbey & Mayor
{{AbbeyMayorLink|logo=hide|edition=C1}} Abbey & Mayor
{{AbbeyMayorLink|logo=noborder|edition=C1}} Abbey & Mayor Abbey & Mayor
{{AbbeyMayorLink|text=some text|edition=C1}} some textsome text
{{AbbeyMayorLink|variant=sorting|edition=C1}} Abbey & MayorAbbey & Mayor
{{AbbeyMayorLink|variant=short|edition=C1}} A&MA&M
{{AbbeyMayorLink|edition=C1|text={{AbbeyMayorName|edition=C1}} C1}} Abbey & Mayor C1Abbey & Mayor C1
{{AbbeyMayorLink|edition=C1|linkonly=true}} Abbey and the Mayor (1st edition)
{{AbbeyMayorLink|edition=C1|linkonly=true|anchor=example}} Abbey and the Mayor (1st edition)#example
{{AbbeyMayorLink|edition=C1|text=''}}