Template:Notebox: Difference between revisions

From EvaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{|style="border: 1px solid #aaaaaa;width: 100%"
{|style="border: 1px solid #aaaaaa;"
|-
|-
|style="background: lightgrey; text-align: center; height: 2em"|'''Note'''
|style="background: lightgrey; text-align: center; height: 2em"|'''Note'''{{anchor|{{{note_id|}}}}}
|rowspan="2"  {{#if: {{{note_images|}}}| style="vertical-align: top; text-align: center;"{{!}}{{{note_images|}}} | style="width: 20%; background: lightgrey;"{{!}} &nbsp; }}
|rowspan="2"  {{#if: {{{note_images|}}}| style="vertical-align: top; text-align: center;width: 10%"{{!}}{{{note_images|}}} | style="width: 20%; background: lightgrey;"{{!}} &nbsp; }}
|-
|-
|style="vertical-align: top;"|{{{note_text|}}}
|style="vertical-align: top;"|{{{note_text|}}}
|}
|}</includeonly><noinclude>
 
{|style="border: 1px solid #aaaaaa"
</includeonly>
<noinclude>
==Usage==
==Usage==


<pre>
<pre>
{{Notebox
{{Notebox
|note_id    =
|note_text  =
|note_text  =
}}
}}
Line 20: Line 16:


<pre>
<pre>
{{Notebox|
{{Notebox
|note_id    =
|note_text  =
|note_text  =
|note_images =
|note_images =
}}
}}
</pre>
</pre>
If note_id is supplied then the note can be quickly linked to within a page by appending #NOTE_ID to the page url, as with the examples here.
*[[Template:Notebox#escalator_no_pic|Note Link 1]]
*[[Template:Notebox#escalator_with_pic|Note Link 2]]


==Examples==
==Examples==


{{Notebox
|note_id    = escalator_no_pic
|note_text  = Shinji and Rei travelled on an escalator in [[Episode 05]]
}}


<pre>
<pre>
{{Notebox
{{Notebox
|note_id    = escalator_no_pic
|note_text  = Shinji and Rei travelled on an escalator in [[Episode 05]]
|note_text  = Shinji and Rei travelled on an escalator in [[Episode 05]]
}}
}}
</pre>
</pre>


{{Notebox
|note_text  = Shinji and Rei travelled on an escalator in [[Episode 05]]
}}




<pre>
 
{{Notebox
{{Notebox
|note_id    = escalator_with_pic
|note_text  = Shinji and Rei travelled on an escalator in [[Episode 05]]
|note_text  = Shinji and Rei travelled on an escalator in [[Episode 05]]
|note_images = [[Image:Shinji Rei Escalator.jpg|150px]]
|note_images = [[Image:Shinji Rei Escalator.jpg|150px]]
}}
}}
</pre>


<pre>
{{Notebox
{{Notebox
|note_id    = escalator_with_pic
|note_text  = Shinji and Rei travelled on an escalator in [[Episode 05]]
|note_text  = Shinji and Rei travelled on an escalator in [[Episode 05]]
|note_images = [[Image:Shinji Rei Escalator.jpg|150px]]
|note_images = [[Image:Shinji Rei Escalator.jpg|150px]]
}}
}}
</pre>


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 01:40, 3 September 2007

Usage

{{Notebox
|note_id    =
|note_text  =
}}
{{Notebox
|note_id     =
|note_text   =
|note_images =
}}

If note_id is supplied then the note can be quickly linked to within a page by appending #NOTE_ID to the page url, as with the examples here.

Examples

Note  
Shinji and Rei travelled on an escalator in Episode 05
{{Notebox
|note_id     = escalator_no_pic
|note_text   = Shinji and Rei travelled on an escalator in [[Episode 05]]
}}



Note
Shinji and Rei travelled on an escalator in Episode 05
{{Notebox
|note_id     = escalator_with_pic
|note_text   = Shinji and Rei travelled on an escalator in [[Episode 05]]
|note_images = [[Image:Shinji Rei Escalator.jpg|150px]]
}}