Template:Image link: Difference between revisions

From Wizards and Warlords
Jump to navigation Jump to search
Created page with "<onlyinclude><div class="wizlords-imagetext"><div class="wizlords-imagetext-image">[[File:{{{image}}}|100x100px|link={{{page}}}]]</div><div class="wizlords-imagetext-text">[[{{{page}}}|{{{label|{{{page}}}}}}]]</div></div></onlyinclude><noinclude> Creates one square image-link card for the Main Page. The image and label both link to the same destination. Existing global and skin CSS control its layout and responsive presentation. Usage: <pre>{{Image link |image=Sq_icon_..."
 
No edit summary
Line 1: Line 1:
<onlyinclude><div class="wizlords-imagetext"><div class="wizlords-imagetext-image">[[File:{{{image}}}|100x100px|link={{{page}}}]]</div><div class="wizlords-imagetext-text">[[{{{page}}}|{{{label|{{{page}}}}}}]]</div></div></onlyinclude><noinclude>
<includeonly><div class="wizlords-imagetext"><div class="wizlords-imagetext-image">[[File:{{{image}}}|100x100px|link={{{page}}}]]</div><div class="wizlords-imagetext-text">[[{{{page}}}|{{{label|{{{page}}}}}}]]</div></div></includeonly><noinclude>
Creates one square image-link card for the Main Page. The image and label both link to the same destination. Existing global and skin CSS control its layout and responsive presentation.
Creates one square image-link card for the Main Page. The image and label both link to the same destination. Existing global and skin CSS control its layout and responsive presentation.


Usage:
Usage:
<pre>{{Image link
<pre>{{Image link
|image=Sq_icon_wstl.png
|image=Sq_icon_wstl.png
|page=Safety Rules
|page=Safety Rules
|label=Safety Rules
|label=Safety Rules
}}</pre>
}}</pre>



Revision as of 03:42, 17 July 2026

Creates one square image-link card for the Main Page. The image and label both link to the same destination. Existing global and skin CSS control its layout and responsive presentation.

Usage:

{{Image link
|image=Sq_icon_wstl.png
|page=Safety Rules
|label=Safety Rules
}}

Parameters:

  • image — required image filename, without the File: prefix
  • page — required destination page
  • label — optional displayed label; defaults to page