Difference between revisions of "Template:Notebox"

From EvaWiki
Jump to: navigation, search
Line 2: Line 2:
 
{|style="border: 1px solid #aaaaaa;width: 100%"
 
{|style="border: 1px solid #aaaaaa;width: 100%"
 
|-
 
|-
|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;width: 10%"{{!}}{{{note_images|}}} | style="width: 20%; background: lightgrey;"{{!}}   }}
 
|rowspan="2"  {{#if: {{{note_images|}}}| style="vertical-align: top; text-align: center;width: 10%"{{!}}{{{note_images|}}} | style="width: 20%; background: lightgrey;"{{!}}   }}
 
|-
 
|-
Line 15: Line 15:
 
<pre>
 
<pre>
 
{{Notebox
 
{{Notebox
 +
|note_id    =
 
|note_text  =
 
|note_text  =
 
}}
 
}}
Line 21: Line 22:
 
<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.
  
 
==Examples==
 
==Examples==
  
 
{{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]]
 
}}
 
}}
Line 34: Line 39:
 
<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]]
 
}}
 
}}
Line 42: Line 48:
  
 
{{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]]
Line 48: Line 55:
 
<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]]

Revision as of 23:08, 15 August 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.

Examples

Note{{anchor|escalator_no_pic  
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{{anchor|escalator_with_pic Shinji Rei Escalator.jpg
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]]
}}