Toggle menu
44
130
1
1K
DemocracyCraft Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Admonition: Difference between revisions

Template page
No edit summary
Tag: Reverted
m Reverted edit by Asexualdinosaur (talk) to last revision by Technofied
Tag: Rollback
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="admonition admonition-{{{type|note}}}">
<onlyinclude>
<div class="admonition admonition-{{{type|note}}}" style="overflow-wrap: break-word; word-break: break-word;">
   <div class="admonition-icon">
   <div class="admonition-icon">
     {{{icon|}}}
     {{{icon|}}}
   </div>
   </div>
   <div class="admonition-content">
   <div class="admonition-content">
    <div class="admonition-title">
    <div class="admonition-title" style="overflow-wrap: break-word; word-break: break-word;">
      {{#if: {{{title|}}} | {{{title}}} | {{ucfirst:{{{type|note}}}}} }}
      {{#if: {{{title|}}} | {{{title}}} | {{ucfirst:{{{type|note}}}}} }}
     </div>
     </div>
     <div class="admonition-text">
     <div class="admonition-text" style="overflow-wrap: break-word; word-break: break-word;">
      {{{content|}}}
    </div>
  </div>
</div>
 
<div class="admonition admonition-{{{type|tip}}}">
  <div class="admonition-icon">
    {{{icon|}}}
  </div>
  <div class="admonition-content">
    <div class="admonition-title">
      {{#if: {{{title|}}} | {{{title}}} | {{ucfirst:{{{type|tip}}}}} }}
    </div>
    <div class="admonition-text">
      {{{content|}}}
    </div>
  </div>
</div>
 
<div class="admonition admonition-{{{type|warning}}}">
  <div class="admonition-icon">
    {{{icon|}}}
  </div>
  <div class="admonition-content">
    <div class="admonition-title">
      {{#if: {{{title|}}} | {{{title}}} | {{ucfirst:{{{type|warning}}}}} }}
    </div>
    <div class="admonition-text">
      {{{content|}}}
    </div>
  </div>
</div>
 
<div class="admonition admonition-{{{type|caution}}}">
  <div class="admonition-icon">
    {{{icon|}}}
  </div>
  <div class="admonition-content">
    <div class="admonition-title">
      {{#if: {{{title|}}} | {{{title}}} | {{ucfirst:{{{type|caution}}}}} }}
    </div>
    <div class="admonition-text">
       {{{content|}}}
       {{{content|}}}
     </div>
     </div>
   </div>
   </div>
</div>
</div>
</onlyinclude>
[[Category:DCTemplates]]

Latest revision as of 08:52, 26 August 2024

      Note