Template:Infobox Component: Difference between revisions

Template page
make collapsible
add example of styling headers fixing image jank
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="mw-collapsible>[[File: {{{Image}}}|thumb|500px|<center>'''{{{Name}}}''' component as seen in the [[Scene Inspector]]</center>]]</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>
 
<div style="clear: both"></div>
== Example ==
 
{{Infobox Component
|Image=DataPresetComponent.png
|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