Template:EpiphanyHelpText: Difference between revisions

From Epiphany
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#tag:div||class=epiphanyhelptext|data-id={{{1}}}}}
{{#tag:div||class=epiphanyhelptext|data-helptype={{{1}}} data-id={{{2}}} }}
<noinclude>
<noinclude>
This template is used to create a placeholder div, with the class of 'epiphanyhelptext', on the wiki page with a data attribute. The data attribute contains the database ID of a help text article.
This template is used to create a placeholder div, with the class of 'epiphanyhelptext', on the wiki page with two data attributes. The first parameter is one of these keywords: '''Screen''', '''Detail''', or '''Field'''. The second data attribute contains the database ID of the help text article.


The template gets populated by an AJAX call that is defined in Mediawiki:Common.js.
The template gets populated by an AJAX call that is defined in Mediawiki:Common.js.

Revision as of 19:48, 28 April 2021

This template is used to create a placeholder div, with the class of 'epiphanyhelptext', on the wiki page with two data attributes. The first parameter is one of these keywords: Screen, Detail, or Field. The second data attribute contains the database ID of the help text article.

The template gets populated by an AJAX call that is defined in Mediawiki:Common.js.

The database calls are handled by this PHP file: extensions/EpiphanyHelpText/helptext.php