Difference between revisions of "Template:Toolbar"

From Fancyclopedia 3
Jump to navigation Jump to search
Line 3: Line 3:
  
 
<nowiki>{{Toolbar | </nowiki>{{ToolbarArgs}}<nowiki>}}</nowiki>
 
<nowiki>{{Toolbar | </nowiki>{{ToolbarArgs}}<nowiki>}}</nowiki>
</noinclude>| {{#ifeq:{{{files}}}|||[{{#replace:{{{files}}}| |%20}} Files]}} {{#ifeq:{{{website}}}|||{{#ifeq:{{{capture}}}||[{{{website}}} Website]([http://web.archive.org/web/{{#ifeq:{{{year}}}|????|{{#ifeq:{{{end}}}||2020|{{{end}}}1230}}|{{{year}}}0701}}/{{{website}}} IA])|[http://web.archive.org/web/{{{capture}}}/{{{website}}} Website]}}}} {{#ifeq:{{{website1}}}|||{{#ifeq:{{{capture1}}}||[{{{website1}}} Website]([http://web.archive.org/web/{{#ifeq:{{{year}}}||{{#ifeq:{{{end}}}||2020|{{{end}}}1230}}|{{{year}}}0701}}/{{{website1}}} IA])|[http://web.archive.org/web/{{{capture}}}/{{{website1}}} Website]}}}} {{#ifcategory:Mapped|[[{{PAGENAME}} Map|Map]]||{{PAGENAME}}}} {{#ifeq:{{{locale}}}|||[https://nominatim.openstreetmap.org/search.php?q={{urlencode:{{{locale}}}}} Map]}} Search: [https://cse.google.com/cse?cx=014139878304936539174:r2k6bdwmkto&q={{urlencode:{{#getdisplaytitle:{{FULLPAGENAME}}}}}} Fanac], [https://cse.google.com/cse?cx=014139878304936539174:dazv0lzwvuc&q={{urlencode:{{#getdisplaytitle:{{FULLPAGENAME}}}}}} Fan], [https://cse.google.com/cse?cx=014139878304936539174:jrvaghtmgml&q={{urlencode:{{#getdisplaytitle:{{FULLPAGENAME}}}}}} Pro], [https://cse.google.com/cse?cx=014139878304936539174:4jqhliopgww&q={{urlencode:{{#getdisplaytitle:{{FULLPAGENAME}}}}}} SFE], [https://cse.google.com/cse?cx=014139878304936539174:47muumzds5r&q={{urlencode:{{#getdisplaytitle:{{FULLPAGENAME}}}}}} Wikipedia], {{#ifeq:A|A|[https://tools.wmflabs.org/reasonator/?find={{urlencode:{{#getdisplaytitle:{{FULLPAGENAME}}}}}} Reasonator]|}} {{#ifeq:{{{start}}}{{{end}}}||{{#ifeq:{{{year}}}|||[[{{{year}}}]]}}|{{#ifeq:{{{start}}}|||[[{{{start}}}]]}}&mdash;{{#ifeq:{{{end}}}|||[[{{{end}}}]]}}}}
+
</noinclude>| {{#ifeq:{{{files}}}|||[{{#replace:{{{files}}}| |%20}} Files]}} {{#ifeq:{{{website}}}|||{{#ifeq:{{{capture}}}||[{{{website}}} Website]([http://web.archive.org/web/{{#ifeq:{{{year}}}|????|{{#ifeq:{{{end}}}||2020|{{{end}}}1230}}|{{{year}}}0701}}/{{{website}}} IA])|[http://web.archive.org/web/{{{capture}}}/{{{website}}} Website]}}}} {{#ifeq:{{{website1}}}|||{{#ifeq:{{{capture1}}}||[{{{website1}}} Website]([http://web.archive.org/web/{{#ifeq:{{{year}}}||{{#ifeq:{{{end}}}||2020|{{{end}}}1230}}|{{{year}}}0701}}/{{{website1}}} IA])|[http://web.archive.org/web/{{{capture}}}/{{{website1}}} Website]}}}} {{#ifcategory:Mapped|[[{{PAGENAME}} Map|Map]]||{{PAGENAME}}}} {{#ifeq:{{{locale}}}|||[https://nominatim.openstreetmap.org/search.php?q={{{locale}}} Map]}} Search: [https://cse.google.com/cse?cx=014139878304936539174:r2k6bdwmkto&q={{urlencode:{{#getdisplaytitle:{{FULLPAGENAME}}}}}} Fanac], [https://cse.google.com/cse?cx=014139878304936539174:dazv0lzwvuc&q={{urlencode:{{#getdisplaytitle:{{FULLPAGENAME}}}}}} Fan], [https://cse.google.com/cse?cx=014139878304936539174:jrvaghtmgml&q={{urlencode:{{#getdisplaytitle:{{FULLPAGENAME}}}}}} Pro], [https://cse.google.com/cse?cx=014139878304936539174:4jqhliopgww&q={{urlencode:{{#getdisplaytitle:{{FULLPAGENAME}}}}}} SFE], [https://cse.google.com/cse?cx=014139878304936539174:47muumzds5r&q={{urlencode:{{#getdisplaytitle:{{FULLPAGENAME}}}}}} Wikipedia], {{#ifeq:A|A|[https://tools.wmflabs.org/reasonator/?find={{urlencode:{{#getdisplaytitle:{{FULLPAGENAME}}}}}} Reasonator]|}} {{#ifeq:{{{start}}}{{{end}}}||{{#ifeq:{{{year}}}|||[[{{{year}}}]]}}|{{#ifeq:{{{start}}}|||[[{{{start}}}]]}}&mdash;{{#ifeq:{{{end}}}|||[[{{{end}}}]]}}}}

Revision as of 00:40, 13 June 2020

Usage:

{{Toolbar | year=1954 | start=1952 | end=1956 | website=https://www.com | website1=https://www1.com | locale=Utopia}} | [{{{files}}} Files] Website Website Map Search: Fanac, Fan, Pro, SFE, Wikipedia, Reasonator [[{{{start}}}]]—[[{{{end}}}]]