Template:Navbox: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
|Group 2={{{group2|}}} | |Group 2={{{group2|}}} | ||
|List 2={{{list2|}}} | |List 2={{{list2|}}} | ||
| | |Primary Color={{{primary_color |}}} | ||
| | |Secondary Color={{{secondary_color|}}} | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<table class="navbox" style="width:100%;border:1px solid #aaa;border-collapse:collapse; | <table class="navbox" style="width:100%;border:1px solid #aaa;border-collapse:collapse;"> | ||
<tr style="background-color:{{{ | <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:{{{ | <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:{{{ | <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:{{{ | <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:{{{ | <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=
}}