Module:HasTag/doc

From bg3.wiki
< Module:HasTag
Revision as of 21:32, 10 June 2024 by Taylan (talk | contribs) (Created page with "<code><nowiki>{{#invoke:HasTag | main | TAG | WIKITEXT }}</nowiki></code> Checks whether the tag named <code>TAG</code> occurs within <code>WIKITEXT</code>. Returns the position of the tag if found, empty otherwise. Example: <code><nowiki>{{#invoke:HasTag | main | ref | Blah <ref>blep</ref> blub. }}</nowiki></code> Result: {{#invoke:HasTag | main | ref | Blah <ref>blep</ref> blub. }} (Why no work?)")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the documentation page for Module:HasTag

{{#invoke:HasTag | main | TAG | WIKITEXT }}

Checks whether the tag named TAG occurs within WIKITEXT. Returns the position of the tag if found, empty otherwise.

Example: {{#invoke:HasTag | main | ref | Blah <ref>blep</ref> blub. }}

Result: 8

(Why no work?)

  1. blep