Template:EpiphanyHelpText: Difference between revisions

From Epiphany
mNo edit summary
mNo edit summary
Line 3: Line 3:
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.
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]].


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

Revision as of 03:19, 3 May 2023

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