Difference between revisions of "Template:Hint"

From Second Life Wiki
Jump to navigation Jump to search
m (User:Kuraiko Yoshikawa/sandbox/Template:hint moved to Template:Hint: birth of a new template =) thx kurai *hugz*)
m (svg to png)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude><includeonly>{{#switch: {{{mode}}}
<onlyinclude><includeonly>{{#switch: {{{mode}}}
|warning = {{{!}} style="background-color:#AAAAAA; margin-bottom:10px;" cellpadding="3" cellspacing="1"
|warning = {{{!}} style="background-color:#AAAAAA; margin-bottom:10px;" cellpadding="3" cellspacing="1"
{{!}} style="background:white;" valign="top" rowspan="2" {{!}} [[Image:Emblem-important-red.svg]]
{{!}} style="background:white;" valign="top" rowspan="2" {{!}} [[Image:Emblem-important-red.png]]
{{!}} style="color:white; background:#990000;" title="Warning! {{{title_desc| }}}" width="100%" {{!}} '''Warning! {{{title_desc| }}}'''
{{!}} style="color:white; background:#990000;" title="Warning! {{{title_desc| }}}" width="100%" {{!}} '''{{{alt_title|Warning!}}} {{{title_desc| }}}'''
{{!}}-
{{!}}-
{{!}} style="background:#F9F9F9; font-size:90%;" {{!}}
{{!}} style="background:#F9F9F9; font-size:90%;" {{!}}
Line 8: Line 8:
{{!}}}
{{!}}}
|important = {{{!}} style="background-color:#AAAAAA; margin-bottom:10px;" cellpadding="3" cellspacing="1"
|important = {{{!}} style="background-color:#AAAAAA; margin-bottom:10px;" cellpadding="3" cellspacing="1"
{{!}} style="background:white;" valign="top" rowspan="2" {{!}} [[Image:Emblem-important.svg]]
{{!}} style="background:white;" valign="top" rowspan="2" {{!}} [[Image:Emblem-important.png]]
{{!}} style="color:black; background:#ff6b00;" title="Important! {{{title_desc| }}}" width="100%" {{!}} '''Important! {{{title_desc| }}}'''
{{!}} style="color:black; background:#ff6b00;" title="Important! {{{title_desc| }}}" width="100%" {{!}} '''Important! {{{title_desc| }}}'''
{{!}}-
{{!}}-
Line 15: Line 15:
{{!}}}
{{!}}}
|note = {{{!}} style="background-color:#AAAAAA; margin-bottom:10px;" cellpadding="3" cellspacing="1"
|note = {{{!}} style="background-color:#AAAAAA; margin-bottom:10px;" cellpadding="3" cellspacing="1"
{{!}} style="background:white;" valign="top" rowspan="2" {{!}} [[Image:Emblem-important-yellow.svg]]
{{!}} style="background:white;" valign="top" rowspan="2" {{!}} [[Image:Emblem-important-yellow.png]]
{{!}} style="color:black; background:#ffd363;" title="Note! {{{title_desc| }}}" width="100%" {{!}} '''Note! {{{title_desc| }}}'''
{{!}} style="color:black; background:#ffd363;" title="Note! {{{title_desc| }}}" width="100%" {{!}} '''Note! {{{title_desc| }}}'''
{{!}}-
{{!}}-
Line 22: Line 22:
{{!}}}
{{!}}}
|translation ={{{!}} style="background-color:#AAAAAA; margin-bottom:10px;" cellpadding="3" cellspacing="1"
|translation ={{{!}} style="background-color:#AAAAAA; margin-bottom:10px;" cellpadding="3" cellspacing="1"
{{!}} style="background:white;" valign="top" rowspan="2" {{!}} [[Image:Emblem-important-yellow.svg]]
{{!}} style="background:white;" valign="top" rowspan="2" {{!}} [[Image:Emblem-important-yellow.png]]
{{!}} style="color:black; background:#ffd363;" title="Note: Translation in Progress." width="100%" {{!}} '''Note: Translation in Progress!'''
{{!}} style="color:black; background:#ffd363;" title="Note: Translation in Progress." width="100%" {{!}} '''Note: Translation in Progress!'''
{{!}}-
{{!}}-
Line 30: Line 30:
|#default =  
|#default =  
}}</includeonly></onlyinclude>
}}</includeonly></onlyinclude>
<div style="margin-bottom: 10px;">
<div style="margin-bottom: 10px;">
__TOC__
__TOC__
Line 50: Line 49:
== Minimum Usage ==
== Minimum Usage ==
<div  style="padding: 0.5em 0.5em 0.5em 0.5em;">
<div  style="padding: 0.5em 0.5em 0.5em 0.5em;">
  <nowiki>{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
  <nowiki>{{hint
  |mode=important
  |mode=important
  |desc=<Description>
  |desc=<Description>
Line 57: Line 56:
== Normal Usage ==
== Normal Usage ==
<div  style="padding: 0.5em 0.5em 0.5em 0.5em;">
<div  style="padding: 0.5em 0.5em 0.5em 0.5em;">
  <nowiki>{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
  <nowiki>{{hint
  |mode=important
  |mode=important
  |title_desc=<Title Description>
  |title_desc=<Title Description>
Line 68: Line 67:
== Translation Special Usage ==
== Translation Special Usage ==
<div  style="padding: 0.5em 0.5em 0.5em 0.5em;">
<div  style="padding: 0.5em 0.5em 0.5em 0.5em;">
  <nowiki>{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
  <nowiki>{{hint
  |mode=translation
  |mode=translation
  |name=<your name>
  |name=<your name>
Line 76: Line 75:
<div  style="padding: 0.5em 0.5em 0.5em 0.5em;">
<div  style="padding: 0.5em 0.5em 0.5em 0.5em;">
  <nowiki>
  <nowiki>
  {{User:Kuraiko_Yoshikawa/sandbox/Template:hint
  {{hint
  |mode=translation
  |mode=translation
  |project=<project name>
  |project=<project name>
Line 86: Line 85:


== Examples ==
== Examples ==
{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
{{hint
|mode=warning
|mode=warning
|desc=The follow stuff is experimental.
|desc=The follow stuff is experimental.
}}
}}
  <nowiki>
  <nowiki>
  {{User:Kuraiko_Yoshikawa/sandbox/Template:hint
  {{hint
  |mode=warning
  |mode=warning
  |desc=The follow stuff is experimental.
  |desc=The follow stuff is experimental.
Line 97: Line 96:
  </nowiki>
  </nowiki>
<center><hr style=" width: 80%; border-bottom: 2px dashed red; background-color: lightgray; height: 0px; margin-top: 10px; margin-bottom:20px;"></center>
<center><hr style=" width: 80%; border-bottom: 2px dashed red; background-color: lightgray; height: 0px; margin-top: 10px; margin-bottom:20px;"></center>
{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
{{hint
|mode=important
|mode=important
|title_desc=Page isn't finished.
|title_desc=Page isn't finished.
Line 103: Line 102:
}}
}}
  <nowiki>
  <nowiki>
  {{User:Kuraiko_Yoshikawa/sandbox/Template:hint
  {{hint
  |mode=important
  |mode=important
  |title_desc=Page isn't finished.
  |title_desc=Page isn't finished.
Line 110: Line 109:
  </nowiki>
  </nowiki>
<center><hr style=" width: 80%; border-bottom: 2px dashed red; background-color: lightgray; height: 0px; margin-top: 10px; margin-bottom:20px;"></center>
<center><hr style=" width: 80%; border-bottom: 2px dashed red; background-color: lightgray; height: 0px; margin-top: 10px; margin-bottom:20px;"></center>
{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
{{hint
|mode=note
|mode=note
|desc=The following code is a beta and not 100% stable!
|desc=The following code is a beta and not 100% stable!
}}
}}
  <nowiki>
  <nowiki>
  {{User:Kuraiko_Yoshikawa/sandbox/Template:hint
  {{hint
  |mode=note
  |mode=note
  |desc=The following code is a beta and not 100% stable!
  |desc=The following code is a beta and not 100% stable!
Line 121: Line 120:
  </nowiki>
  </nowiki>
<center><hr style=" width: 80%; border-bottom: 2px dashed red; background-color: lightgray; height: 0px; margin-top: 10px; margin-bottom:20px;"></center>
<center><hr style=" width: 80%; border-bottom: 2px dashed red; background-color: lightgray; height: 0px; margin-top: 10px; margin-bottom:20px;"></center>
{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
{{hint
|mode=translation
|mode=translation
|name=Kuraiko Yoshikawa
|name=Kuraiko Yoshikawa
}}
}}
  <nowiki>
  <nowiki>
  {{User:Kuraiko_Yoshikawa/sandbox/Template:hint
  {{hint
  |mode=translation
  |mode=translation
  |name=Kuraiko Yoshikawa
  |name=Kuraiko Yoshikawa
Line 132: Line 131:
  </nowiki>
  </nowiki>
<center><hr style=" width: 80%; border-bottom: 2px dashed red; background-color: lightgray; height: 0px; margin-top: 10px; margin-bottom:20px;"></center>
<center><hr style=" width: 80%; border-bottom: 2px dashed red; background-color: lightgray; height: 0px; margin-top: 10px; margin-bottom:20px;"></center>
{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
{{hint
|mode=translation
|mode=translation
|name=Kuraiko Yoshikawa
|name=Kuraiko Yoshikawa
Line 138: Line 137:
}}
}}
  <nowiki>
  <nowiki>
  {{User:Kuraiko_Yoshikawa/sandbox/Template:hint
  {{hint
  |mode=translation
  |mode=translation
  |name=Kuraiko Yoshikawa
  |name=Kuraiko Yoshikawa
Line 144: Line 143:
  }}
  }}
  </nowiki>
  </nowiki>
[[Category:Box templates]]

Latest revision as of 12:03, 24 February 2011

"Note Box"

Create a Note box for various sectors and "alerts".

  • Warning Box
  • Important Box
  • Note/Hint Box
  • and special version of note box for translations


Based on Template:! and inspired by Template:LSL_Function/warning

Minimum Usage

{{hint
 |mode=important
 |desc=<Description>
 }}

Normal Usage

{{hint
 |mode=important
 |title_desc=<Title Description>
 |desc=<Description>
 }}

Translation Special Usage

{{hint
 |mode=translation
 |name=<your name>
 }}

Translation Special with Project Usage

 {{hint
 |mode=translation
 |project=<project name>
 |name=<your name>
 }}
 

Examples

Emblem-important-red.png Warning!

The follow stuff is experimental.

 {{hint
 |mode=warning
 |desc=The follow stuff is experimental.
 }}
 

Emblem-important.png Important! Page isn't finished.

Sorry this page isn't finished... I'm working hard on it! o.o

 {{hint
 |mode=important
 |title_desc=Page isn't finished.
 |desc=Sorry this page isn't finished... I'm working hard on it! o.o
 }}
 

Emblem-important-yellow.png Note!

The following code is a beta and not 100% stable!

 {{hint
 |mode=note
 |desc=The following code is a beta and not 100% stable!
 }}
 

Emblem-important-yellow.png Note: Translation in Progress!

This page is translated by Kuraiko Yoshikawa.
Translation committed at: Sunday 27 July 2008

 {{hint
 |mode=translation
 |name=Kuraiko Yoshikawa
 }}
 

Emblem-important-yellow.png Note: Translation in Progress!

This page is translated by Kuraiko Yoshikawa as part of XYZ Translation Project.
Translation committed at: Sunday 27 July 2008

 {{hint
 |mode=translation
 |name=Kuraiko Yoshikawa
 |project=XYZ Translation Project
 }}