mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-27 17:10:19 +00:00
80b5ccc634
Add a new Footer template for modelling the footer of Vector. Bug: T240062 Change-Id: I60a243abeb5650542ca6f6fac8401a622faaabac
27 lines
785 B
Plaintext
27 lines
785 B
Plaintext
{{!
|
|
@typedef object footerItem
|
|
@prop string id of list item element
|
|
@prop string html of list item
|
|
@prop footerItem[] items
|
|
|
|
@typedef object footerRow
|
|
@prop string className of list element
|
|
@prop string id of list element
|
|
@prop footerItem[] array-items
|
|
|
|
string|null html-userlangattributes a string of attribute HTML
|
|
string html-hook-vector-before-footer output of VectorBeforeFooter hook
|
|
footerRow[] array-footer-rows iterable list of footer rows
|
|
}}
|
|
{{{html-hook-vector-before-footer}}}
|
|
<div id="footer" role="contentinfo" {{{html-userlangattributes}}}>
|
|
{{#array-footer-rows}}
|
|
<ul id="{{id}}" class="{{className}}">
|
|
{{#array-items}}
|
|
<li id="{{id}}">{{{html}}}</li>
|
|
{{/array-items}}
|
|
</ul>
|
|
{{/array-footer-rows}}
|
|
<div style="clear: both;"></div>
|
|
</div>
|