CURRENT MISSION: Conclude the 2026 soyjak.party hack page, aswell as any pages relating to it, such as the Summer 2026 Crisis page.
Update Quotecord with any relevant info. See the blackboard for more info.

Template:Boorusearch: Difference between revisions

From Soyjak Wiki, the free ensoyclopedia
Jump to navigationJump to search
Cliffsend (talk | contribs)
fix infobox issue
Tag: 2017 source edit
 
(29 intermediate revisions by 14 users not shown)
Line 1: Line 1:
<includeonly><span class="plainlinks" style="white-space:nowrap;">[[File:Onionsbooru-icon.png]] [https://booru.soy/post/list/{{urlencode:{{{1}}}|PATH}}/1 {{{display|{{{1}}}}}}]</span></includeonly><noinclude>
<includeonly><span class="plainlinks" style="white-space:nowrap;"><span style="display:inline-block; vertical-align:middle; line-height:0; margin-right:4px;">[[File:Onionsbooru-icon.png|16px|link=https://soybooru.com/booru?q={{urlencode:{{{1}}}|PATH}}]]</span>[https://soybooru.com/booru?q={{{1}}} {{{display|{{{1}}}}}}]</span></includeonly><noinclude>{{Documentation}}[[Category:Templates]][[Category:Article text templates]]</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.
 
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==
{{Boorusearch|variant:dogjak}}
<pre>{{Boorusearch|variant:dogjak}}</pre>
 
Using the display parameter to display {{Boorusearch|wordswordswords|display=the hyperlink with custom text}}.
<pre>Using the display parameter to display {{Boorusearch|wordswordswords|display=the hyperlink with custom text}}.</pre>
=== Posts that could use some tagging ===
{{Boorusearch|tagme tags<4}}
<pre>{{Boorusearch|tagme tags<4}}</pre>
=== Link to a specific image ===
{{Boorusearch|1=hash=2857ad9add785c571f0c11200992f49d}}
<pre>{{Boorusearch|1=hash=2857ad9add785c571f0c11200992f49d}}</pre><ref>[https://www.mediawiki.org/wiki/Help:Templates#Anonymous_parameters Mediawiki thinks] <code>hash=</code> is a named parameter so as a workaround, we explicitly assign it early to the <code>1=</code> parameter.</ref>
== TODO ==
Add icon to this link type. The icon could be a cute little onion.
==See Also==
* [[Template:BooruImage]]
 
== Footnotes ==
 
[[Category:Templates]]
</noinclude>

Latest revision as of 22:17, 20 August 2026

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