Template:Image gallery line: Difference between revisions

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
No edit summary
Gurgum (talk | contribs)
default to placeholder
Line 1: Line 1:
<includeonly><!--the leading and trailing line breaks are necessary-->
<includeonly><!--the leading and trailing line breaks are necessary-->
{{{3}}}|[[{{{1}}}|{{{2|}}}]]
{{{3}}}|[[{{{1}}}|{{{2|File:Image Placeholder.png}}}]]
</includeonly><noinclude>{{documentation}}
</includeonly><noinclude>{{documentation}}
==Example==
==Example==

Revision as of 16:15, 9 December 2025

Documentation for Template:Image gallery line [view] [edit] [history] [purge] (How does this work?)

Called as a semantic result template by {{Image Gallery}}. It formats each row into the format needed for the gallery, with an image filename followed by a link to the page.

Parameters

pagename (unnamed parameter 1)
Required. Name of the wiki page.
canonical name (unnamed parameter 2)
Required. Canonical name of the wiki page.
filename (unnamed parameter 3)
Optional. Image file to display in the gallery (normally the infobox image). Defaults to the image placeholder.

Example

{{Image gallery line|Ahriman (Mount)|Ahriman|File:Test.jpg}}

File:Test.jpg|Ahriman