Template:Hint: Difference between revisions
Jump to navigation
Jump to search
ich hoffe mal dass a) funktioniert und dass du b) nicht sauer bist wenn ich an deinem template rumfummle ^_^ |
m neuer versuch... |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#switch: {{{mode}}} | {{#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" | ||
| Line 7: | Line 7: | ||
{{!}} style="background:#F9F9F9; font-size:90%;" {{!}} | {{!}} style="background:#F9F9F9; font-size:90%;" {{!}} | ||
{{{desc}}} | {{{desc}}} | ||
{{!}}} | {{!}}} | ||
|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.png]] | {{!}} style="background:white;" valign="top" rowspan="2" {{!}} [[Image:Emblem-important.png]] | ||
| Line 17: | Line 15: | ||
{{{desc}}} | {{{desc}}} | ||
{{!}}} | {{!}}} | ||
|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.png]] | {{!}} style="background:white;" valign="top" rowspan="2" {{!}} [[Image:Emblem-important-yellow.png]] | ||
| Line 25: | Line 22: | ||
{{{desc}}} | {{{desc}}} | ||
{{!}}} | {{!}}} | ||
|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.png]] | {{!}} style="background:white;" valign="top" rowspan="2" {{!}} [[Image:Emblem-important-yellow.png]] | ||
| Line 34: | Line 30: | ||
{{!}}} | {{!}}} | ||
|#default = | |#default = | ||
}} | |||
</includeonly> | </includeonly> | ||
Revision as of 15:02, 13 November 2008
"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
{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
|mode=important
|desc=<Description>
}}
Normal Usage
{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
|mode=important
|title_desc=<Title Description>
|desc=<Description>
}}
Translation Special Usage
{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
|mode=translation
|name=<your name>
}}
Translation Special with Project Usage
{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
|mode=translation
|project=<project name>
|name=<your name>
}}
Examples
| Warning! | |
|
The follow stuff is experimental. |
{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
|mode=warning
|desc=The follow stuff is experimental.
}}
| Important! Page isn't finished. | |
|
Sorry this page isn't finished... I'm working hard on it! o.o |
{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
|mode=important
|title_desc=Page isn't finished.
|desc=Sorry this page isn't finished... I'm working hard on it! o.o
}}
| Note! | |
|
The following code is a beta and not 100% stable! |
{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
|mode=note
|desc=The following code is a beta and not 100% stable!
}}
| Note: Translation in Progress! | |
|
This page is translated by Kuraiko Yoshikawa. |
{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
|mode=translation
|name=Kuraiko Yoshikawa
}}
| Note: Translation in Progress! | |
|
This page is translated by Kuraiko Yoshikawa as part of XYZ Translation Project. |
{{User:Kuraiko_Yoshikawa/sandbox/Template:hint
|mode=translation
|name=Kuraiko Yoshikawa
|project=XYZ Translation Project
}}