Template:See it and Template:See it/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
Fred Gandt (talk | contribs) + user-select:none |
IznoRepeat (talk | contribs) m →top: phab:T337149#8953569, replaced: [// → [https:// |
||
Line 1: | Line 1: | ||
{{#if:{{{1|{{{term|{{{url|}}}}}}}}}|{{{1|{{#if:{{{hide|}}}||{{{url|}}}}}}}}<span class="plainlinks noprint" style="float:right;margin-left:1em;font-style:normal;font-weight:normal;font-size:.9em |
{{#if:{{{1|{{{term|{{{url|}}}}}}}}}|{{{1|{{#if:{{{hide|}}}||{{{url|}}}}}}}}<span class="plainlinks noprint" style="float:right;margin-left:1em;font-style:normal;font-weight:normal;font-size:.9em">( [https://{{#if:{{{url|}}}|{{{url}}}|{{#switch:{{{site|google}}} |
||
| maps = |
| maps = maps.google.com/maps?q{{=}} |
||
| translate = translate.google.com/#{{{2|de}}}/{{{3|en}}}/ |
| translate = translate.google.com/#{{{2|de}}}/{{{3|en}}}/ |
||
| youtube = www.youtube.com/results?search_query{{=}} |
| youtube = www.youtube.com/results?search_query{{=}} |
||
| image |
| image |
||
| google = www.google.com/search?{{#ifeq:{{{site|}}}|image|tbm{{=}}isch&|}}q{{=}} |
| google = www.google.com/search?{{#ifeq:{{{site|}}}|image|tbm{{=}}isch&|}}q{{=}} |
||
}} |
}}{{urlencode:{{{1|{{{term}}}}}}}}}} {{#tag:span|see it|title={{{1|{{{term|url{{{url|}}}}}}}}}}}] )</span>|}}<noinclude>{{documentation|content= |
||
{{substitution|never}} |
|||
{{Documentation}} |
|||
This is specifically designed and built as a support template for [[List of Google easter eggs]], to be used sparingly for the inclusion of ''some'' [[Wikipedia:convenience link|convenience link]]s. |
|||
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> |
|||
⚫ | |||
== Plain text == |
|||
For the line of text: |
|||
Searching for "this search term" is really cool. |
|||
=== Google web search === |
|||
Add this markup: |
|||
Searching for "<nowiki>{{see it|this search term}}</nowiki>" is really cool. |
|||
=== Google image search === |
|||
Add this markup: |
|||
Searching for "<nowiki>{{see it|site=image|this search term}}</nowiki>" is really cool. |
|||
=== YouTube search === |
|||
Add this markup: |
|||
Searching for "<nowiki>{{see it|site=youtube|this search term}}</nowiki>" is really cool. |
|||
=== Google Maps === |
|||
Add this markup: |
|||
Searching for "<nowiki>{{see it|site=maps|this search term}}</nowiki>" is really cool. |
|||
=== Google Translate === |
|||
Add this markup: |
|||
Searching for "<nowiki>{{see it|site=translate|this search term|language code from|language code to}}</nowiki>" is really cool. |
|||
* Language codes default to: from "de" (German) to "en" (English). |
|||
== Complex text == |
|||
For the line of text: |
|||
Searching for "this <nowiki><nowiki>[search]</nowiki></nowiki> term" is really cool. |
|||
This markup can be used: |
|||
Searching for "this <nowiki><nowiki>[search]</nowiki></nowiki> term" is really cool.<nowiki>{{see it|term=this search term}}</nowiki> |
|||
{{para|site}} can be used to modify the destination. |
|||
== URL text == |
|||
For the line of text: |
|||
Visiting "example.org/directory/" is really cool. |
|||
This markup can be used: |
|||
Visiting "<nowiki>{{see it|url=example.org/directory/}}</nowiki>" is really cool. |
|||
=== "See it" link with no inline URL text === |
|||
For the line of text: |
|||
Visiting the example website is really cool. |
|||
Where that line refers to a URL that is not explicitly shown, this markup can be used: |
|||
Visiting "<nowiki>{{see it|url=example.org/directory/|hide=yes}}</nowiki>" is really cool. |
|||
⚫ |