Module:TagQS: Difference between revisions
From Neodyland Wiki
More actions
require strict per TPER |
Fix Linter errors. When this template is preceded by indenting markup and wrapped in div tags, misnesting occurs |
||
| Line 47: | Line 47: | ||
-- "field" is an unique label to distinguish it from other tags. | -- "field" is an unique label to distinguish it from other tags. | ||
-- "property" and "value" are actually in a format similar to the one expected by QuickStatements | -- "property" and "value" are actually in a format similar to the one expected by QuickStatements | ||
return mw.ustring.format('<div style="display: none;">%s QS:%s,%s</div> | return mw.ustring.format('<div style="display: none;">%s QS:%s,%s</div>', field, property or 'P', value) | ||
end | end | ||