Zelda Wiki

OoT Navi.png

Hey! Listen!

This wiki contains spoilers! Read at your own risk!

READ MORE

Zelda Wiki
Advertisement
Zelda Wiki
10,256
pages
This article is a work in progress.
This article is a work in progress.

The editors are working to update all pertinent information as soon as possible. We apologize for any incomplete or missing information.

Purpose

This template is for generating examples in Category:Template Documentation.

Usage

{{Examples
 |vertical=
 |<nowiki>example-1</nowiki>
 |<nowiki>example-2</nowiki>
 |...
 |<nowiki>example-n</nowiki>
}}
  • example-n — Whatever syntax you're trying to demonstrate (probably a template call). It needs to be wrapped in <nowiki></nowiki> tags for it to work.
  • vertical — Putting any value here causes one table to be generated per example, with row headers instead of column headers.

Examples

Inline input
Input
{{Examples
 |<nowiki>{{Term|Series|Crisp Tomato|link}}</nowiki>
 |<nowiki>{{Color|TWWHD Vermilion|merchant's oath}}</nowiki>
 |<nowiki>{{Icon|LADX|Bananas}}</nowiki>
}}
Output
InputOutput
{{Term|Series|Crisp Tomato|link}}Crisp Tomato
{{Color|TWWHD Vermilion|merchant's oath}}merchant's oath
{{Icon|LADX Bananas}}Bananas
Block input (respects line breaks)
Input
{{Examples
|{{Tabs|align=center
 |tab1= Foo Tab
 |content1= Foo
 |tab2= Bar Tab
 |content 2 = Bar}}
}}
Output
InputOutput
{{Tabs|align=center
 |tab1= Foo Tab
 |content1= Foo
 |tab2= Bar Tab
 |content2 = Bar
}}
Foo TabBar Tab
Foo
Bar
Vertical format
Input
{{Examples
 |vertical= true
 |{{Letter|TWW|Kashiko|display=blockquote, italics, nowrap}}
 |{{Letter|TWW|Beedle's Shop Ship|display=italics, collapsed}}
}}
Output
Input
{{Letter|TWW|Kashiko|display=blockquote, italics, nowrap}}
Output

To my son's superior,


Thank you very much for looking after my
boy. This isn't much, but I hope you'll
accept it all the same.

I politely request your continued kindness
toward my son.
                                   Kashiko
                               (Baito's mother)

Input
{{Letter|TWW|Beedle's Shop Ship|display=italics, collapsed}}
Output

    Notice from Beedle's Shop Ship!


 It's time for our semi-annual Big Chance
 Extravaganza! We have a new product
 that has burst onto the scene: Bombs!!!

 We're having an extra-special sale on
 this choice item for a limited time only!
 You'll know where to find us by checking
 the enclosed Beedle Shop Ship Chart!
 Visit a Beedle Shop Ship near you today!
 (Offer not available in all regions.)


 Don't miss this HUGE opportunity!!!
                                    Beedle

The above documentation is transcluded from Template:Examples/Documentation. (edit | history)

Advertisement