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...")
 
No edit summary
Tags: Reverted Made through Tor
(16 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<includeonly>[https://booru.soy/post/list/{{urlencode:{{{1}}}}}/1 {{{display|Booru: {{{1}}}}}}]</includeonly><noinclude>
<includeonly><span class="plainlinks" style="white-space:nowrap;">[[File:Onionsbooru-icon.png|link=https://booru.soyak.party/post/list/{{urlencode:{{{1}}}|PATH}}/1]] [https://booru.soyak.party/post/list/{{urlencode:{{{1}}}|PATH}}/1 {{{display|{{{1}}}}}}]</span></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.


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.
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.
{{redtext|[[File:Onionsbooru-icon.png]] If you hate the current icon a new one is welcome [[File:Onionsbooru-icon.png]]}}
==Examples==
==Examples==
{{Boorusearch|variant:dogjak}}
{{Boorusearch|variant:dogjak}}
Line 11: Line 13:
<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}}
Line 19: Line 21:
Add icon to this link type. The icon could be a cute little onion.
Add icon to this link type. The icon could be a cute little onion.
==See Also==
==See Also==
* [[Booru]]
* [[Template:BooruImage]]
 
== Footnotes ==
== Footnotes ==


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude><noinclude>[[Category:Article text templates]]</noinclude>

Revision as of 21:19, 16 April 2024


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.

If you hate the current icon a new one is welcome

Examples

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

tagme tags<4

{{Boorusearch|tagme tags<4}}

Link to a specific image

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.