Actions

Template

Infobox-basic: Difference between revisions

From Beyond the Pale

No edit summary
No edit summary
Line 3: Line 3:


{{Infobox-basic|Title
{{Infobox-basic|Title
|hidden1={{{hidden1}}} this is hidden unless given a value
|hidden2={{{hidden2}}} this too (also 7 onwards, I think. fields currently go up to 15 but you can bet I'll be back.)
}}
}}
<code><nowiki>{{Infobox-basic|Title}}</nowiki><br></code>
<code><nowiki>{{Infobox-basic|Title
|hidden1={{{hidden1}}} this is hidden unless given a value
|hidden2={{{hidden2}}} this too
}}</nowiki><br></code> produces:


</noinclude><includeonly>{| class="infobox" style="text-align:center;float:right;box-shadow:3px 3px 5px black"
</noinclude><includeonly>{| class="infobox" style="text-align:center;float:right;box-shadow:3px 3px 5px black"
Line 14: Line 19:
|-
|-
| colspan="2"style="text-align:center"|{{{4}}}
| colspan="2"style="text-align:center"|{{{4}}}
|-
| colspan="2"style="text-align:center"|{{{hidden1|}}}
|-
| colspan="2"style="text-align:center"|{{{hidden2|}}}
|-
|-
! colspan="2"style="text-align:center;background-color:{{{Color|#c0cfff}}}"| {{{5}}}
! colspan="2"style="text-align:center;background-color:{{{Color|#c0cfff}}}"| {{{5}}}
Line 19: Line 28:
| colspan="2"style="text-align:center"|{{{6}}}
| colspan="2"style="text-align:center"|{{{6}}}
|-
|-
! colspan="3" style="text-align:center;background-color:{{{Color|#c0cfff}}}"|{{{7}}}  
! colspan="3" style="text-align:center;background-color:{{{Color|#c0cfff}}}"|{{{7|}}}  
|-
|-
! {{{8}}}
! {{{8|}}}
| {{{9}}}
| {{{9|}}}
|-  
|-  
! {{{10}}}
! {{{10|}}}
| {{{11}}}
| {{{11|}}}
|-
|-
! {{{12}}}
! {{{12|}}}
| {{{13}}}
| {{{13|}}}
|-
|-
! {{{14}}}
! {{{14|}}}
| {{{15}}}
| {{{15|}}}
|}
|}
</includeonly>
</includeonly>

Revision as of 17:00, 28 December 2025

Bravely sniffling my way through this as I blatantly steal arc's code. Planning ahead is so hard.

Title
{{{2}}}
{{{3}}}
{{{4}}}
{{{hidden1}}} this is hidden unless given a value
{{{hidden2}}} this too (also 7 onwards, I think. fields currently go up to 15 but you can bet I'll be back.)
{{{5}}}
{{{6}}}

{{Infobox-basic|Title |hidden1={{{hidden1}}} this is hidden unless given a value |hidden2={{{hidden2}}} this too }}
produces: