Template:Assistant:Context/preview
Usage
editThis auxiliary template for Wikinews:Assistant:Context constructs the content to be previewed. Parameters:
- first unnamed — required — the
context-requests
list to be applied. - second unnamed — required — the content to be previewed.
Examples
editcode | output |
---|---|
|
|
Internals
editIf a template call to a requesting template occurs within a call to another requesting template, only the outermost of those calls is provided with requested parameters.
Parameters when provided are placed before explicit parameters, so that explicit parameters override those provided.
This is where the whitelist and blacklist are applied; elsewhere the whitelist, blacklist, and requests are propagated uncritically. Any changes to the whitelist or blacklist therefore have the potential to alter the effect of pre-existing requests, in keeping with the conceptually global nature of whitelists and blacklists.