This is the template test cases page for the sandbox of Template:Plain image with caption. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
—Examples—
The triangle parameters give the option to add a colored triangle label—
{{plain image with caption/sandbox|James Webb Space Telescope Mirror37.jpg|This is a picture of the [[James Webb Space Telescope]].|350|left|top|triangle|rgba(0,110,255,1)}}
The triangle parameters give the option to add a colored triangle label—
{{plain image with caption/sandbox|James Webb Space Telescope Mirror37.jpg|This is a picture of the [[James Webb Space Telescope]].|350|left|top|triangle|rgba(0,110,255,1)}}
The triangle parameters give the option to add a colored triangle label—
{{plain image with caption/sandbox|James Webb Space Telescope Mirror37.jpg|This is a picture of the [[James Webb Space Telescope]].|350|right|top|triangle|rgba(0,110,255,1)}}
The triangle parameters give the option to add a colored triangle label—
{{plain image with caption/sandbox|James Webb Space Telescope Mirror37.jpg|This is a picture of the [[James Webb Space Telescope]].|350|center|top|triangle|rgba(0,110,255,1)}}
Using "image-override" to stack images
{{Plain image with caption/sandbox|File:Helical granum.png|'''Grana structure''' The prevailing model for [[granum|granal]] structure is a stack of granal [[thylakoids]] linked by helical [[stroma (fluid)|stromal]] thylakoids that wrap around the grana stacks and form large sheets that connect different grana.|432px|left|left|triangle|#3cb14d|image override=<div style="float: right; position: relative; width: 432px; height: 432px;">
<div style="float: right; position: absolute; width: 432px;">[[File:Helical granum.png|432px]]</div>
<div style="float: right; position: absolute; width: 432px;">[[File:Granum labels.svg|432px|The prevailing model for [[granum|granal]] structure.]]</div></div>}}
—Examples—
The triangle parameters give the option to add a colored triangle label—
{{plain image with caption|James Webb Space Telescope Mirror37.jpg|This is a picture of the [[James Webb Space Telescope]].|350|left|top|triangle|rgba(0,110,255,1)}}
The triangle parameters give the option to add a colored triangle label—
{{plain image with caption|James Webb Space Telescope Mirror37.jpg|This is a picture of the [[James Webb Space Telescope]].|350|left|bottom|triangle|rgba(0,110,255,1)}}
The triangle parameters give the option to add a colored triangle label—
{{plain image with caption|James Webb Space Telescope Mirror37.jpg|This is a picture of the [[James Webb Space Telescope]].|350|right|top|triangle|rgba(0,110,255,1)}}
The triangle parameters give the option to add a colored triangle label—
{{plain image with caption|James Webb Space Telescope Mirror37.jpg|This is a picture of the [[James Webb Space Telescope]].|350|center|top|triangle|rgba(0,110,255,1)}}
Using "image-override" to stack images
{{Plain image with caption|File:Helical granum.png|'''Grana structure''' The prevailing model for [[granum|granal]] structure is a stack of granal [[thylakoids]] linked by helical [[stroma (fluid)|stromal]] thylakoids that wrap around the grana stacks and form large sheets that connect different grana.|432px|left|top|triangle|#3cb14d|image override=<div style="float: right; position: relative; width: 432px; height: 432px;">
<div style="float: right; position: absolute; width: 432px;">[[File:Helical granum.png|432px]]</div>
<div style="float: right; position: absolute; width: 432px;">[[File:Granum labels.svg|432px|The prevailing model for [[granum|granal]] structure.]]</div></div>}}