Template:GAN link/testcases
| This is the template test cases page for the sandbox of Template:GAN link. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
Testing sandbox version
{{{{TEMPLATENAME|require=testcases}}/sandbox|Saints Row 2 (mobile)}} (nothing fancy)
{{{{TEMPLATENAME|require=testcases}}/sandbox|''Saints Row 2'' (mobile)}} (italics in {{{1}}} to strip out)
{{{{TEMPLATENAME|require=testcases}}/sandbox|''Saints Row 2'' (mobile)|#=2}} (|Template:Pound=2)
- Saints Row 2 (mobile) (start) (Should be
/GA2)
{{{{TEMPLATENAME|require=testcases}}/sandbox|''Saints Row 2'' (mobile)|icon=y}} (|icon=y)
{{{{TEMPLATENAME|require=testcases}}/sandbox|Saints Row 2 (mobile)|''Saints Row 2'' (mobile)}} (using {{{2}}} for special formatting even though stripping is more efficient)
{{{{TEMPLATENAME|require=testcases}}/sandbox|Saints Row: The Third|i=y}} (|i=y)
{{{{TEMPLATENAME|require=testcases}}/sandbox|''Tony Hawk's Underground''}} (article with apostrophe)
Testing main template
{{{{TEMPLATENAME|require=testcases}}|Saints Row 2 (mobile)}} (nothing fancy)
{{{{TEMPLATENAME|require=testcases}}|''Saints Row 2'' (mobile)}} (italics in {{{1}}} to strip out)
{{{{TEMPLATENAME|require=testcases}}|''Saints Row 2'' (mobile)|#=2}} (|Template:Pound=2)
- Saints Row 2 (mobile) (start) (Should be
/GA2)
{{{{TEMPLATENAME|require=testcases}}|''Saints Row 2'' (mobile)|icon=y}} (|icon=y)
{{{{TEMPLATENAME|require=testcases}}|Saints Row 2 (mobile)|''Saints Row 2'' (mobile)}} (using {{{2}}} for special formatting even though stripping is more efficient)
{{{{TEMPLATENAME|require=testcases}}|Saints Row: The Third|i=y}} (|i=y)
{{{{TEMPLATENAME|require=testcases}}|''Tony Hawk's Underground''}} (article with apostrophe)
{{{{TEMPLATENAME|require=testcases}}|''Tony Hawk's Underground''|i=y}} title with italics and using italics flag
Storage
- flatlist
- set using {{ganl}} and {{{2}}} param
Jumping Flash! (start) • Makoto Yuki (Shin Megami Tensei: Persona) (start) • Lightning Returns: Final Fantasy XIII (start) • Final Fantasy X/X-2 HD Remaster (start) • Music of Final Fantasy XIV (start) • Fez (video game) (start) • Green Hill Zone (start) • Titanfall (start) • Devil Survivor 2: The Animation (start) • PETA satirical browser games (start) • Mischief Makers (start) • Sonic: After the Sequel (start) • Automonopoli (start) • Saints Row 2 (mobile) (start) • Saints Row: The Third (start) • Escape from Woomera (start)
- set using {{ganl}} and apostrophe stripping (instead of {{{2}}} param)
Jumping Flash! (start) • Makoto Yuki (Shin Megami Tensei: Persona) (start) • Lightning Returns: Final Fantasy XIII (start) • Final Fantasy X/X-2 HD Remaster (start) • Music of Final Fantasy XIV (start) • Fez (video game) (start) • Green Hill Zone (start) • Titanfall (start) • Devil Survivor 2: The Animation (start) • PETA satirical browser games (start) • Mischief Makers (start) • Sonic: After the Sequel (start) • Automonopoli (start) • Saints Row 2 (mobile) (start) • Saints Row: The Third (start) • Escape from Woomera (start)
- Jumping Flash! (start)
- Makoto Yuki (Shin Megami Tensei: Persona) (start)
- Lightning Returns: Final Fantasy XIII (start)
- Final Fantasy X/X-2 HD Remaster (start)
- Music of Final Fantasy XIV (start)
- Fez (video game) (start)
- Green Hill Zone (start)
- Titanfall (start)
- Devil Survivor 2: The Animation (start)
- PETA satirical browser games (start)
- Mischief Makers (start)
- Sonic: After the Sequel (start)
- Automonopoli (start)
- Saints Row 2 (mobile) (start)
- Saints Row: The Third (start)
- Escape from Woomera (start)
WPVG announcements
Sandbox version
Template:WPVG announcements/shell
| This template uses Lua: |
Usage
- The template will show the article's name alongside a link to its GAN (defaults to "/GA1"). If the GAN has started, it will be linked as "nom". If not, a "start" link with the preloaded GA stuff will show instead.
- Put the name in the first parameter. It will strip out double and triple apostrophes.
{{GAN link|Saints Row 2 (mobile)}}→ Saints Row 2 (mobile) (start){{GAN link|''Saints Row 2'' (mobile)}}→ Saints Row 2 (mobile) (start)
- Alternatively, the first parameter can be used for the name, and the second parameter for how the link should be displayed
{{GAN link|Saints Row 2 (mobile)}}→ Saints Row 2 (mobile) (start){{GAN link|Saints Row 2 (mobile)|''Saints Row 2'' (mobile)}}→ Saints Row 2 (mobile) (start)
|Template:Pound=sets the GAN number{{GAN link|Jumping Flash!|#=2}}→ Jumping Flash! (start) (Talk:Jumping Flash!/GAN2)
|icon=adds a GAN icon{{GAN link|Jumping Flash!|icon=y}}→
Jumping Flash! (start)
|i=sets whether the original input is a fully italicized name{{GAN link|Jumping Flash!|i=y}}→ Jumping Flash! (start){{GAN link|Saints Row 2 (mobile)|i=y}}→ Saints Row 2 (mobile) (start) (note that "(mobile)" is italicized too with this option)
| The above documentation is transcluded from Template:GAN link/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |