Template:PeopleDirectoryRow: Difference between revisions
Jump to navigation
Jump to search
WikiSync push v1.0 |
WikiSync push v1.2 |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<!-- WikiSync | version=1. | <!-- WikiSync | version=1.2 | updated=2026-07-10 --> | ||
<includeonly>|- | <includeonly>|- | ||
| [[{{{1}}}|{{{2|{{{1}}}}}}]] || {{#if:{{{3|}}}|[[{{{3}}}]]|}} || {{#if:{{ | | [[{{{1}}}|{{{2|{{{1}}}}}}]] || {{#if:{{{3|}}}|[[{{{3}}}]]|}} || {{#if:{{{4|}}}|[[{{{4}}}|thumb|40px|center]]|}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Row template for the People Directory table on the Category:People page (used via <code>format=template</code>). | Row template for the People Directory table on the Category:People page (used via <code>format=template</code>). | ||
Parameters (positional, from the #ask query): {{{1}}} = person page name, {{{2}}} = HasName, {{{3}}} = HasArticle. | Parameters (positional, from the #ask query): {{{1}}} = person page name, {{{2}}} = HasName, {{{3}}} = HasArticle, {{{4}}} = HasImage.HasFile. | ||
Renders Name (linked to the person page), Related Article (linked), and a real | Renders Name (linked to the person page), Related Article (linked), and a real 40px-wide thumbnail generated from the HasImage.HasFile printout — no CSS, no nested #show (SMW blocks #show/#ask inside a format=template row template). | ||
To change the thumbnail size, edit the " | To change the thumbnail size, edit the "40px" in the thumb link below. | ||
</noinclude> | </noinclude> | ||
Latest revision as of 11:32, 10 July 2026
Row template for the People Directory table on the Category:People page (used via format=template).
Parameters (positional, from the #ask query): {{{1}}} = person page name, {{{2}}} = HasName, {{{3}}} = HasArticle, {{{4}}} = HasImage.HasFile.
Renders Name (linked to the person page), Related Article (linked), and a real 40px-wide thumbnail generated from the HasImage.HasFile printout — no CSS, no nested #show (SMW blocks #show/#ask inside a format=template row template).
To change the thumbnail size, edit the "40px" in the thumb link below.