Module:HasTag/doc: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(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?)")
 
No edit summary
Line 1: Line 1:
Doc page: [[Module:HasTag/doc]]
<code><nowiki>{{#invoke:HasTag | main | TAG | WIKITEXT }}</nowiki></code>
<code><nowiki>{{#invoke:HasTag | main | TAG | WIKITEXT }}</nowiki></code>



Revision as of 22:33, 10 June 2024

Doc page: Module:HasTag/doc

{{#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