Template:Boorusearch: Difference between revisions

From Soyjak Wiki, The Free Soycyclopedia
Jump to navigationJump to search
(Created page with "<includeonly>[https://booru.soy/post/list/{{urlencode:{{{1}}}}}/1 {{{display|Booru: {{{1}}}}}}]</includeonly><noinclude> The booru address changes all the time so links to th...")
 
(Booru doesn't use "+" for spacing)
Line 1: Line 1:
<includeonly>[https://booru.soy/post/list/{{urlencode:{{{1}}}}}/1 {{{display|Booru: {{{1}}}}}}]</includeonly><noinclude>
<includeonly>[https://booru.soy/post/list/{{urlencode:{{{1}}}|PATH}}/1 {{{display|Booru: {{{1}}}}}}]</includeonly><noinclude>


The booru address changes all the time so links to the booru are unstable, and because of that they're rarely used in the wiki.
The booru address changes all the time so links to the booru are unstable, and because of that they're rarely used in the wiki.
Line 11: Line 11:
<pre>Using the display parameter to display {{Boorusearch|wordswordswords|display=the hyperlink with custom text}}.</pre>
<pre>Using the display parameter to display {{Boorusearch|wordswordswords|display=the hyperlink with custom text}}.</pre>
=== Posts that could use some tagging ===
=== Posts that could use some tagging ===
{{Boorusearch|tagme tags&gt;4}}
{{Boorusearch|tagme tags>4}}
<pre>{{Boorusearch|tagme tags&gt;4}}</pre>
<pre>{{Boorusearch|tagme tags>4}}</pre>
=== Link to a specific image ===
=== Link to a specific image ===
{{Boorusearch|1=hash=2857ad9add785c571f0c11200992f49d}}
{{Boorusearch|1=hash=2857ad9add785c571f0c11200992f49d}}

Revision as of 09:50, 26 April 2022


The booru address changes all the time so links to the booru are unstable, and because of that they're rarely used in the wiki.

This template takes a search query as an argument and forms a working booru link. If the booru address changes you can update this template and all links will update.

Examples

Booru: variant:dogjak

{{Boorusearch|variant:dogjak}}

Using the display parameter to display the hyperlink with custom text.

Using the display parameter to display {{Boorusearch|wordswordswords|display=the hyperlink with custom text}}.

Posts that could use some tagging

Booru: tagme tags>4

{{Boorusearch|tagme tags>4}}

Link to a specific image

Booru: hash=2857ad9add785c571f0c11200992f49d

{{Boorusearch|1=hash=2857ad9add785c571f0c11200992f49d}}

[1]

TODO

Add icon to this link type. The icon could be a cute little onion.

See Also

Footnotes

  1. Mediawiki thinks hash= is a named parameter so as a workaround, we explicitly assign it early to the 1= parameter.