Template:Infobox Component: Difference between revisions

Template page
make this look even better
add example of styling headers fixing image jank
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<onlyinclude><includeonly><div class="mw-collapsible"><span style="float:right;">Component image&nbsp;</span><div class="mw-collapsible-content">[[File: {{{Image}}}|thumb|500px|<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
|Image=VRIKAvatarComponent.png
|Name=VRIKAvatar
}}
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