Template:FigureTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>__NOEDITSECTION__
[[HasFigureType::{{{FigureType|}}}|]]
{{{Description|}}}
 
{{#ifeq:{{{FigureType|}}}|Icon
{{#ifeq:{{{FigureType|}}}|Icon
|[[File:{{{Figure|}}}|none|border|400px|alt={{{AltText|}}}|link=]]  
|[[File:{{{Figure|}}}|none|border|400px|alt={{{AltText|}}}|link=]]  
Line 7: Line 8:


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

Latest revision as of 15:39, 10 March 2020