Template:LinkedGallery: Difference between revisions

47 bytes removed ,  22:06, 6 February 2023
Not sure how to deal with styles passed through yet, but will worry about that later
(Create page, first draft for related/similar items gallery)
 
(Not sure how to deal with styles passed through yet, but will worry about that later)
Line 2: Line 2:
{{#arraydefine:itemArray|{{{items|}}}}}
{{#arraydefine:itemArray|{{{items|}}}}}
{{#arrayprint:itemArray |, | @@@@ | {{Gallery|@@@@|caption=@@@@|link=@@@@}} }}
{{#arrayprint:itemArray |, | @@@@ | {{Gallery|@@@@|caption=@@@@|link=@@@@}} }}
</includeonly>
</includeonly><noinclude>
 
 
<noinclude>




Line 13: Line 10:
==<span id="nametemplate">[[File:Mickey & Friends.png|29px|link=]]</span> LinkedGallery ==
==<span id="nametemplate">[[File:Mickey & Friends.png|29px|link=]]</span> LinkedGallery ==
<ul class="gallery mw-gallery-traditional furnituregallery">
<ul class="gallery mw-gallery-traditional furnituregallery">
{{linkedGallery|items=Bright Shapes and Plants Wallpaper, Desaturated Shapes and Plants Wallpaper, Earthy Shapes and Plants Wallpaper}}
{{linkedGallery|items='''''Azure and Gold Arched Window''''', Bright Shapes and Plants Wallpaper, Desaturated Shapes and Plants Wallpaper, Earthy Shapes and Plants Wallpaper}}
</ul>
</ul>


{{#rsplit:Azure and Gold Arched Window'''''|'''''|0}}


<!--LinkedGallery|items='''''Azure and Gold Arched Window''''', Bright Shapes and Plants Wallpaper, Desaturated Shapes and Plants Wallpaper, Earthy Shapes and Plants Wallpaper-->
<!--LinkedGallery|items='''''Azure and Gold Arched Window''''', Bright Shapes and Plants Wallpaper, Desaturated Shapes and Plants Wallpaper, Earthy Shapes and Plants Wallpaper-->
Line 39: Line 38:
File:Earthy Shapes and Plants Wallpaper.png|[[Earthy Shapes and Plants Wallpaper]]|link=Earthy Shapes and Plants Wallpaper
File:Earthy Shapes and Plants Wallpaper.png|[[Earthy Shapes and Plants Wallpaper]]|link=Earthy Shapes and Plants Wallpaper
</gallery>
</gallery>
  {{!}} {{#arraydefine:a-category|{{{category|}}}}}{{#arrayprint:a-category|<br/>|@@@@|<span id="nametemplate">{{category|@@@@}}</span>}}


</noinclude>
</noinclude>
moderator
26,674

edits