Template:PeopleDirectoryRow: Difference between revisions

From elijah
Jump to navigation Jump to search
WikiSync push v1.1
WikiSync push v1.2
 
Line 1: Line 1:
<!-- WikiSync | version=1.1 | updated=2026-07-10 -->
<!-- WikiSync | version=1.2 | updated=2026-07-10 -->
<includeonly>|-
<includeonly>|-
| [[{{{1}}}|{{{2|{{{1}}}}}}]] || {{#if:{{{3|}}}|[[{{{3}}}]]|}} || {{#if:{{{4|}}}|[[{{{4}}}|thumb|20px|center]]|}}
| [[{{{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, {{{4}}} = HasImage.HasFile.
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 20px-wide thumbnail generated from the HasImage.HasFile printout — no CSS, no nested #show (SMW blocks #show/#ask inside a format=template row template).
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 "20px" in the thumb link below.
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.