yoohoo! hot sauce please
10:27, 7 September 2026 (UTC)
Template:Boorusearch/doc: Difference between revisions
From 2swagg wiki
Jump to navigationJump to search
Created page with " 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 <code>display</code> to a HTML attribute, which is read by Module:Funni categorizer2. '''Do not modify or rename anything if you don't know what yo..." |
mNo edit summary |
||
| Line 6: | Line 6: | ||
This template reports its <code>display</code> 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!''' | This template reports its <code>display</code> 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!''' | ||
{{redtext|[[File: | {{redtext|[[File:Breadbooru-icon.png]] If you hate the current icon a new one is welcome [[File:Breadbooru-icon.png]]}} | ||
==Examples== | ==Examples== | ||
{{Boorusearch|variant:dogjak}} | {{Boorusearch|variant:dogjak}} | ||
| Line 20: | Line 20: | ||
<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> | <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 == | == TODO == | ||
Add icon to this link type. The icon could be a cute little | Add icon to this link type. The icon could be a cute little bread. | ||
==See Also== | ==See Also== | ||
* [[Template:Boorubox]] | * [[Template:Boorubox]] | ||
Latest revision as of 01:34, 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}}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.