Jump to content

Template:Navbox: Difference between revisions

From VeraciaWiki
No edit summary
Tag: Reverted
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
   |Group 2={{{group2|}}}
   |Group 2={{{group2|}}}
   |List 2={{{list2|}}}
   |List 2={{{list2|}}}
   |Background Dark={{{bgdark|}}}
   |Primary Color={{{primary_color |}}}
   |Background Light={{{bglight|}}}
   |Secondary Color={{{secondary_color|}}}
   }}
   }}
</noinclude>
</noinclude>
<includeonly>
<includeonly>
   <table class="navbox" style="width:100%;border:1px solid #aaa;border-collapse:collapse; margin-top: 1em">
   <table class="navbox" style="width:100%;border:1px solid #aaa;border-collapse:collapse;">
     <tr style="background-color:{{{bgdark| #ddd}}}; height: 20px !important;">
     <tr style="background-color:{{{primary_color | #bbb}}}; height: 20px !important;">
       <th style="width:100%;text-align:center;border:1px solid #aaa;padding:5px;" colspan="2">{{{navbox title|}}}</th>
       <th style="width:100%;text-align:center;border:1px solid #aaa;padding:5px;" colspan="2">{{{navbox title|}}}</th>
     </tr>
     </tr>
     <tr style="height: 20px !important;">
     <tr style="height: 20px !important;">
       <th style="width:20%;text-align:left;background-color:{{{bgdark| #ddd}}};border:1px solid #aaa;padding:5px;">{{{group1|}}}</th>
       <th style="width:20%;text-align:left;background-color:{{{primary_color | #bbb}}};border:1px solid #aaa;padding:5px;">{{{group1|}}}</th>
       <td style="width:80%;text-align:left;background-color:{{{bglight| #f9f9f9}}};border:1px solid #aaa;padding:5px;">
       <td style="width:80%;text-align:left;background-color:{{{secondary_color| #ddd}}};border:1px solid #aaa;padding:5px;">
         <div style="display:flex;justify-content:space-between;">{{{list1|}}}</div>
         <div style="display:flex;justify-content:space-between;">{{{list1|}}}</div>
       </td>
       </td>
     </tr>
     </tr>
     <tr style="height: 20px !important;">
     <tr style="height: 20px !important;">
       <th style="width:20%;text-align:left;background-color:{{{bgdark| #ddd}}};border:1px solid #aaa;padding:5px;">{{{group2|}}}</th>
       <th style="width:20%;text-align:left;background-color:{{{primary_color | #bbb}}};border:1px solid #aaa;padding:5px;">{{{group2|}}}</th>
       <td style="width:80%;text-align:left;background-color:{{{bglight| #f9f9f9}}};border:1px solid #aaa;padding:5px;">
       <td style="width:80%;text-align:left;background-color:{{{secondary_color| #ddd}}};border:1px solid #aaa;padding:5px;">
         <div style="display:flex;justify-content:space-between;">{{{list2|}}}</div>
         <div style="display:flex;justify-content:space-between;">{{{list2|}}}</div>
       </td>
       </td>

Latest revision as of 17:04, 5 April 2024

 {{#set:
 |Navbox Title=
 |Group 1=
 |List 1=
 |Group 2=
 |List 2=
 |Primary Color=
 |Secondary Color=
 }}