Template:Format link/testcases

Examples from documentation page

Article only
{{Format link|Lion}}

{{Format link}}

Lion

{{Format link/sandbox}}

Lion

Article with section anchor
{{Format link|Lion#Etymology}}

{{Format link}}

Lion § Etymology

{{Format link/sandbox}}

Lion § Etymology

Category
{{Format link|Category:Lions}}

{{Format link}}

Category:Lions

{{Format link/sandbox}}

Category:Lions

Two unnamed parameters
{{Format link|Lion#Etymology|Etymology of lion}}

{{Format link}}

Etymology of lion

{{Format link/sandbox}}

Etymology of lion

Three unnamed parameters
{{Format link|#Bar||Foo#Bar}}

{{Format link}}

§ Bar

{{Format link/sandbox}}

§ Bar

italicizepage
{{Format link|Quo warranto#Philippines|italicizepage=true}}

{{Format link}}

Quo warranto § Philippines

{{Format link/sandbox}}

Quo warranto § Philippines

italicizesection
{{Format link|Cybercrime Prevention Act of 2012#Disini v. Secretary of Justice|italicizesection=true}}

{{Format link}}

Cybercrime Prevention Act of 2012 § Disini v. Secretary of Justice

{{Format link/sandbox}}

Cybercrime Prevention Act of 2012 § Disini v. Secretary of Justice

No parameters (error)
{{Format link|}}

{{Format link}}

Error: no link or target specified! (help)

{{Format link/sandbox}}

Error: no link or target specified! (help)

With underscores
Unicode in URL formatting
{{Format link|%E6%9C%AA%E6%9D%A5%E6%97%A5%E8%A8%98#M%61nga}}

{{Format link}}

未来日記 § Manga

{{Format link/sandbox}}

%E6%9C%AA%E6%9D%A5%E6%97%A5%E8%A8%98 § M%61nga

With curly braces
{{Format link|Template talk:T#%7B%7Bu%7D%7D}}

{{Format link}}

Template talk:T § {{u}}

{{Format link/sandbox}}

Template talk:T § %7B%7Bu%7D%7D

nud=yes

Usage from articles and talk pages

{{Format link|#Kabushiki kaisha|italicizesection=y}}

{{Format link}}

§ Kabushiki kaisha

{{Format link/sandbox}}

§ Kabushiki kaisha

{{Format link|#Episodes|list of episodes}}

{{Format link}}

list of episodes

{{Format link/sandbox}}

list of episodes


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.