Difference between revisions of "Template:Flickr/doc"

From TransitWiki
Jump to navigation Jump to search
(Created page with "<noinclude>{{protected template}}</noinclude>{{Information |Description = {{{description|{{{Description|}}}}}} |Source = {{<includeonly>safesubst:</includeonly>#ife...")
 
Line 1: Line 1:
<noinclude>{{protected template}}</noinclude>{{Information
 
|Description    = {{{description|{{{Description|}}}}}}
 
|Source        = {{<includeonly>safesubst:</includeonly>#ifeq:{{{self_made|0}}}|1
 
| {{Own}} / [{{{flickr_url}}} Flickr]
 
| [{{{flickr_url}}} Flickr]
 
}}
 
|Date          = {{{taken|{{{Taken|}}}}}}
 
|Author        = {{<includeonly>safesubst:</includeonly>#if:{{{photographer_url|<!-- if url provided, open url syntax -->}}}|[{{{photographer_url}}}}}  {{<includeonly>safesubst:</includeonly>#if:{{{photographer_location|}}}|{{from loc|{{{photographer}}}|{{{photographer_location}}}}}|{{{photographer}}}}}{{<includeonly>safesubst:</includeonly>#if:{{{photographer_url|<!-- if url provided, close url syntax -->}}}|]|}}
 
|Permission    = {{{permission|{{{Permission|}}}}}}
 
|other_versions = {{{other_versions|{{{Other_versions|}}}}}}
 
|other_fields  = {{<includeonly>safesubst:</includeonly>#if:{{{reviewer|}}}|<nowiki />
 
{{Information field|name=Reviewer|value=[[User:{{{reviewer}}}|{{{reviewer}}}]]|id=rev}}}}
 
|demo          = <noinclude>1</noinclude>
 
}}<noinclude>
 
  
{{documentation}}
+
{{TemplateBox
 
+
|1=description
</noinclude>
+
|1d=original description on Flickr
 +
|1stat=required
 +
|2=flickr_url
 +
|2d=URL of the original on Flickr
 +
|2stat=required
 +
|3=title
 +
|3d=original title on Flickr
 +
|3stat=required
 +
|4=taken
 +
|4d=original date on Flickr (in [[:en:ISO 8601]] format)
 +
|4stat=required
 +
|5=photographer_url
 +
|5d=URL of the photographer's page on Flickr
 +
|6=photographer
 +
|6d=original Flickr photographer
 +
|6stat=required
 +
|7=photographer_location
 +
|7d=location of the original Flickr photographer
 +
|8=reviewer
 +
|8d=used for FlickrLickr reviewers
 +
|9=permission
 +
|9d=original permission on Flickr
 +
|10=self_made
 +
|10d=Set to 1 uploader is the same person as flicker photographer, otherwise leave as 0.
 +
|10def={{#ifeq:{{PAGENAME}}|Flickr-self|1|0}}
 +
|name=Flickr
 +
|desc=Infobox to use with images retrieved from Flickr
 +
|namespace=File
 +
|usergroup=all
 +
|usage-notes=
 +
|type=infobox
 +
|example=
 +
|i18n-method=switch
 +
|i18n-desc=
 +
|seealso=
 +
|setscats=
 +
|lines=multi
 +
|shorthand=
 +
|relieson={{tl|Information}}
 +
}}
 +
<includeonly>
 +
[[Category:Infobox templates: based on Information template|{{PAGENAME}}]]
 +
[[Category:Flickr templates|{{PAGENAME}}]]
 +
</includeonly>

Revision as of 19:42, 2 November 2017