Template:Quality: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 10: Line 10:
   color: #fbf0a4;
   color: #fbf0a4;
   padding: 6px 16px;
   padding: 6px 16px;
   margin-top: 20px;
   margin: 20px auto;
  margin-bottom: 20px;
}
 
.scholarly-approved {
  margin-left: 5px;
  margin-right: auto;
}
 
.featured-text {
  margin-left: auto;
  margin-right: 5px;
}
}


Line 29: Line 18:
</style>
</style>
</html>
</html>
<div class="quality container">
<div class="quality-container">
{{#if:{{{scholarly approved|}}}|<div class="scholarly-approved">
{{#if:{{{scholarly approved|}}}|<div class="scholarly-approved" {{#if:{{{featured text|}}}|style="margin-left: 5px; margin-right: auto;"|}}>
This is a "Scholarly Approved" translation [[File:Info-yellow.png|14px|class=quality-info|link=Project:Quality policy]]
This is a "Scholarly Approved" translation [[File:Info-yellow.png|14px|class=quality-info|link=Project:Quality policy]]
</div>|}}{{#if:{{{featured|}}}|<div class="featured-text">
</div>|}}{{#if:{{{featured|}}}|<div class="featured-text" {{#if:{{{featured text|}}}|style="margin-left: auto; margin-right: 5px;"|}}>
This is a "Featured" text [[File:Info-yellow.png|14px|class=quality-info|link=Project:Quality policy]]
This is a "Featured" text [[File:Info-yellow.png|14px|class=quality-info|link=Project:Quality policy]]
</div>|}}
</div>|}}
</div>
</div>