Template:Infobox Component: Difference between revisions

Template page
a bunch of fuckery
add example of styling headers fixing image jank
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<onlyinclude><includeonly><div class="mw-collapsible" style="float:right; margin:0;">'''Component image'''&nbsp;<div class="mw-collapsible-content">[[File: {{{Image}}}|thumb|none|upright=1.7|<center>'''{{{Name}}}''' component as seen in the [[Scene Inspector]]</center>]]</div></div>
<onlyinclude><includeonly><div class="mw-collapsible" style="float:right; margin:0.3em;">'''Component image'''&nbsp;<div class="mw-collapsible-content">[[File: {{{Image}}}|thumb|none|upright=1.7|<center>'''{{{Name}}}''' component as seen in the [[Scene Inspector]]</center>]]</div></div>
</includeonly></onlyinclude>
</includeonly></onlyinclude>


<div style="clear: both"></div>
== Example ==
== Example ==


Line 8: Line 9:
|Name=Data Preset
|Name=Data Preset
}}
}}
I am some text


I am some text 2
<div style="clear: both"></div>
== Example2 ==
{{Infobox Component
{{Infobox Component
|Image=VRIKAvatarComponent.png
|Image=VRIKAvatarComponent.png
Line 14: Line 19:
}}
}}


TODO: fix multiple image jank
TODO: fix multiple image jank through header styles in the wiki

Latest revision as of 18:35, 19 November 2024


Example

Component image 
Data Preset component as seen in the Scene Inspector

I am some text

I am some text 2

Example2

Component image 
VRIKAvatar component as seen in the Scene Inspector


TODO: fix multiple image jank through header styles in the wiki