yoohoo! hot sauce please
10:27, 7 September 2026 (UTC)
Template:Boorusearch: Difference between revisions
From 2swagg wiki
Jump to navigationJump to search
Created page with "<includeonly><span class="plainlinks" style="white-space:nowrap;"><span style="display:inline-block; vertical-align:middle; line-height:0; margin-right:4px;">16px|link=https://booru.2swagg.net/booru?q={{urlencode:{{{1}}}|PATH}}</span>[https://booru.2swagg.net/booru?q={{{1}}} {{{display|{{{1}}}}}}]</span>{{#invoke:CatMark|mark|boorusearch-count|display}}</includeonly><noinclude>{{Documentation}}Category:Article text templates</noinclude>" |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><span class="plainlinks" style="white-space:nowrap;"><span style="display:inline-block; vertical-align:middle; line-height:0; margin-right:4px;">[[File: | <includeonly><span class="plainlinks" style="white-space:nowrap;"><span style="display:inline-block; vertical-align:middle; line-height:0; margin-right:4px;">[[File:Breadbooru-icon.png|16px|link=https://booru.2swagg.net/booru?q={{urlencode:{{{1}}}|PATH}}]]</span>[https://booru.2swagg.net/booru?q={{{1}}} {{{display|{{{1}}}}}}]</span>{{#invoke:CatMark|mark|boorusearch-count|display}}</includeonly><noinclude>{{Documentation}}[[Category:Article text templates]]</noinclude> | ||
Latest revision as of 01:31, 11 October 2026
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 reports its display to a HTML attribute, which is read by Module:Funni categorizer2. Do not modify or rename anything if you don't know what you are doing!
If you hate the current icon a new one is welcome
Examples[edit source]
{{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[edit source]
{{Boorusearch|tagme tags<4}}
Link to a specific image[edit source]
hash=2857ad9add785c571f0c11200992f49d
{{Boorusearch|1=hash=2857ad9add785c571f0c11200992f49d}}[1]
TODO[edit source]
Add icon to this link type. The icon could be a cute little bread.
See Also[edit source]
- ↑ Mediawiki thinks
hash=is a named parameter so as a workaround, we explicitly assign it early to the1=parameter.