Template talk:Inline

bugzilla:05590 – "[[{{foo}}bar]] fails to generate a link if {{foo}} renders to :bla or #bla"

tests

edit

simple test

edit
* {{inline|namespace=talk}}
* {{inline|namespace=Talk}}
* {{inline|namespace=tALk}}
* {{inline|namespace=image}}
* {{inline|namespace=Image}}
* {{inline|namespace=iMAGe}}
* {{inline|namespace=category}}
* {{inline|namespace=Category}}
* {{inline|namespace=cAtEgOrY}}

generates:‎

  • talk:
  • talk:
  • talk:
image:
image:
image:
category:
category:
category:


used in wiki syntax

edit
* [[{{inline|namespace=talk}}foo]]
* [[{{inline|namespace=Talk}}foo]]
* [[{{inline|namespace=tALk}}foo]]
* [[{{inline|namespace=image}}foo]]
* [[{{inline|namespace=Image}}foo]]
* [[{{inline|namespace=iMAGe}}foo]]
* [[{{inline|namespace=category}}foo]]
* [[{{inline|namespace=Category}}foo]]
* [[{{inline|namespace=cAtEgOrY}}foo]]

generates:‎

image:foo]]
  • [[
image:foo]]
  • [[
image:foo]]
  • [[
category:foo]]
  • [[
category:foo]]
  • [[
category:foo]]


rendering 09:45, 13 April 2006 (UTC)

edit
* [[{{subst:inline|namespace=talk}}foo]]
* [[{{subst:inline|namespace=Talk}}foo]]
* [[{{subst:inline|namespace=tALk}}foo]]
* [[{{subst:inline|namespace=image}}foo]]
* [[{{subst:inline|namespace=Image}}foo]]
* [[{{subst:inline|namespace=iMAGe}}foo]]
* [[{{subst:inline|namespace=category}}foo]]
* [[{{subst:inline|namespace=Category}}foo]]
* [[{{subst:inline|namespace=cAtEgOrY}}foo]]

generates:‎

image:foo]]
  • [[
image:foo]]
  • [[
image:foo]]
  • [[
category:foo]]
  • [[
category:foo]]
  • [[
category:foo]]


simple rendering 23:07, 16 April 2006 (UTC)

edit
* {{subst:inline|namespace=talk}}foo
* {{subst:inline|namespace=Talk}}foo
* {{subst:inline|namespace=tALk}}foo
* {{subst:inline|namespace=image}}foo
* {{subst:inline|namespace=Image}}foo
* {{subst:inline|namespace=iMAGe}}foo
* {{subst:inline|namespace=category}}foo
* {{subst:inline|namespace=Category}}foo
* {{subst:inline|namespace=cAtEgOrY}}foo

generates:‎

  • talk:foo
  • talk:foo
  • talk:foo
image:foo
image:foo
image:foo
category:foo
category:foo
category:foo


MediaZilla:05590 / bugzilla:05590 – "[[{{foo}}bar]] fails to generate a link if {{foo}} renders to :bla or #bla"

notes:

The following examples just demonstrate rendering.
In practice no "inline" reference is required to generate the proper links.

working

edit
* [{{localurl:en:category:Templates_using_ParserFunctions}} working]
* [{{localurl:en::category:Templates_using_ParserFunctions}} working with two colons]

generates:‎


localurl style

edit
[{{localurl:en:{{inline|namespace=category}}Templates_using_ParserFunctions}} localurl style]

generates:‎
[{{localurl:en:

category:Templates_using_ParserFunctions}} localurl style]


edit
[http://en.wikipedia.org/wiki/{{inline|namespace=category}}Templates_using_ParserFunctions external link style]

generates:‎
[http://en.wikipedia.org/wiki/

category:Templates_using_ParserFunctions external link style]


alignment via parameters

edit
: first level alignment
{{inline|namespace=image}}
:{{inline|namespace=image}}
----
: first level alignment
:: second level alignment
::{{inline|namespace=image}}
:{{inline|namespace=image}}
----
: first level alignment
:: second level alignment
::: third level alignment
:::{{inline|namespace=image}}
::{{inline|namespace=image}}

generates:‎

first level alignment
image:
image:

first level alignment
second level alignment
image:
image:

first level alignment
second level alignment
third level alignment
image:
image:
Return to "Inline" page.