Template:Note: Difference between revisions

From dezentrale wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<templatestyles src="Template:Note/styles.css" />
 
<templatestyles src="Template:Note/styles.css" />
<div class="note note-{{#switch: {{{2|{{{type|}}}}}}
+
<div class="note {{#ifeq:{{{inline|}}}|1|note-inline}}" note-{{#switch: {{{2|{{{type|}}}}}}
 
|info=info
 
|info=info
 
|reminder=reminder
 
|reminder=reminder
Line 9: Line 9:
 
|error=error
 
|error=error
 
|info
 
|info
}}">
+
}}>
  +
{{{1|{{{text}}}}}}
Text Text Text
 
 
</div>
 
</div>
 
[[Category:Note]]
 
[[Category:Note]]
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
{{Note}}
+
{{Note|Everything default}}
{{Note|type=info}}
+
{{Note|Inline|inline=1}}
{{Note|type=reminder}}
+
{{Note|Info note|type=info}}
{{Note|type=idea}}
+
{{Note|Reminder note|type=reminder}}
{{Note|type=warn}}
+
{{Note|Idea note|type=idea}}
{{Note|type=warning}}
+
{{Note|Warn note|type=warn}}
{{Note|type=error}}
+
{{Note|Warning note|type=warning}}
  +
{{Note|Error note|type=error}}
 
</noinclude>
 
</noinclude>

Revision as of 22:45, 14 February 2022


Everything default


Inline


Info note


Reminder note


Idea note


Warn note


Warning note


Error note