Template:FigureTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>__NOEDITSECTION__
[[HasFigureType::{{{FigureType|}}}|]]
{{{Description|}}}
 
{{#ifeq:{{{FigureType|}}}|Icon
{{#ifeq:{{{FigureType|}}}|Icon
|[[File:{{{Figure|}}}|left|border|120px|alt={{{AltText|}}}]]  
|[[File:{{{Figure|}}}|none|border|400px|alt={{{AltText|}}}|link=]]  
|[[File:{{{Figure|}}}|left|border|{{{OptimalSize|}}}px|alt={{{AltText|}}}]] |}}
|[[File:{{{Figure|}}}|none|border|{{{OptimalSize|}}}px|alt={{{AltText|}}}|link=]] }}
}}
<br clear="all"/>
{{#ifeq:{{{Caption|}}}|||Caption: {{{Caption|}}} }}
{{#ifeq:{{{Caption|}}}|||Caption: {{{Caption|}}} }}


The figure (a {{{FigureType|}}}) is used on the page(s): {{#ask:[[-BelongsToComponent::{{PAGENAME}}]][[FigureType::icon]] }}
Figure is used on page(s):  
{{#ask:[[-BelongsToComponent::{{PAGENAME}}]] OR [[HasPicture::{{PAGENAME}}]] |format=list }}
 
[[Media:{{{Figure|}}}|View Image]]
[[Category:Figure]]
[[Category:Figure]]
{{#arraymap:{{{Component|}}}|;|x|[[BelongsToComponent::x]]}}
{{#set:
[[HasOptimalSize::{{{OptimalSize|}}}|]]
HasFigureType={{{FigureType|}}}
[[HasCaption::{{{Caption|}}}|]]
|BelongsToComponent={{{Component|}}}|+sep=;
[[HasAltTitle::{{{AltText|}}}|]]
|HasOptimalSize={{{OptimalSize|}}}
[[HasPageName::File:{{{Figure|}}}|]]
|HasCaption={{{Caption|}}}  
</includeonly>
|HasAltTitle={{{AltText|}}}
|HasPageName=File:{{{Figure|}}}
|ThisPageName={{PAGENAME}}
}}</includeonly>

Latest revision as of 15:39, 10 March 2020