Template:Infobox user: Difference between revisions

From Pikmin Fanon
No edit summary
No edit summary
Line 1: Line 1:
{| class="infobox" align="right" style="width: 30em; font-size: 80%; text-align: left; border-style: solid; background: #fff; border-width: 2px; border-color: gray;"
{| class="infobox" align="right" style="width: 30em; font-size: 80%; text-align: left; border-style: solid; background: #fff; border-width: 2px; border-color: gray;"
! class="infoboxTitle" colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | {{#if:{{{icon|}}} |
! class="infoboxTitle" colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | {{#if:{{{icon|}}} |
Line 17: Line 18:
{{clean|Improve this template to resemble other infoboxes, for use on user pages. Then, rename it to [[Template:Infobox user]].}}
{{clean|Improve this template to resemble other infoboxes, for use on user pages. Then, rename it to [[Template:Infobox user]].}}


==Usage==
===Skeleton===
Syntax:<br>
<pre>
<code>'''<nowiki>{{</nowiki>Infobox'''<br />
{{Infobox
'''|'''Box title    = <br />
|image=
'''|'''Image file  = <br />
|caption=
'''|'''Image size  = <br />
|title1=
'''|'''Row 1 title  = <br />
|info1=
'''|'''Row 1 info  = <br />
|title2=
'''|'''Row 2 title  = <br />
|info2=
'''|'''Row 2 info  = <br />
|title3=
'''|'''Row 3 title  = <br />
|info3=
'''|'''Row 3 info  = <br />
|title4=
'''|'''Row 4 title  = <br />
|info4=
'''|'''Row 4 info  = <br />
|title5=
'''|'''Row 5 title  = <br />
|info5=
'''|'''Row 5 info  = <br />
|title6=
'''|'''Row 6 title  = <br />
|info6=
'''|'''Row 6 info  = <br />
|title7=
'''|'''Row 7 title  = <br />
|info7=
'''|'''Row 7 info  = <br />
|title8=
'''|'''Row 8 title  = <br />
|info8=
'''|'''Row 8 info  = <br />
|title9=
'''|'''Row 9 title  = <br />
|info9=
'''|'''Row 9 info  = <br />
|title10=
'''|'''Row 10 title = <br />
|info10=
'''|'''Row 10 info  = <br />
|title11=
'''<nowiki>}}</nowiki>'''</code>
|info11=
 
</pre>
Notes:
* Keeping the '''Box Title''' empty will result in displaying '''No title'''
* If you don't want to display image, just keep '''Image file Name''' and '''Image Size''' empty.
* Keeping the '''Row 1 title''' empty will result in displaying '''No title'''.
* Keeping the '''Row (any row) info''' empty will result in displaying '''No information'''.
* Keeping the '''Row (any below row 1) title''' empty will result in that row and the rest of the rows below it will not be displayed.
* Max row for information: 10 rows.
* "Box title" is case sensitive; if you put something else like, say, "Box '''T'''itle", the infobox's title will still display '''No title'''


[[Category:Infobox templates| ]]
[[Category:Infobox templates| ]]
</noinclude>
</noinclude>

Revision as of 14:34, 16 October 2023

Infobox user


This article or section needs to be cleaned up, either its format or general style.
Notes: Improve this template to resemble other infoboxes, for use on user pages. Then, rename it to Template:Infobox user.

Skeleton

{{Infobox
|image=
|caption=
|title1=
|info1=
|title2=
|info2=
|title3=
|info3=
|title4=
|info4=
|title5=
|info5=
|title6=
|info6=
|title7=
|info7=
|title8=
|info8=
|title9=
|info9=
|title10=
|info10=
|title11=
|info11=