Template:Paywall
Jump to navigation
Jump to search
[edit] [ ]
Template documentation

![]() | This template uses TemplateStyles |
A template for creating fake paywalls or other verification schema. Used with {{Get}}.
Usage
{{Paywall |offset-reveal = 2 <!-- Determines which offset finally takes down paywall, if removed defaults to 1 --> |paywall = {{#switch:{{Get}} |0 = <!-- Paywall message --> |1 = <!-- Paywall message --> }} |paywall-lifted = <!-- Paywall message when paywall is down --> |content = <!-- Content behind paywall --> }}
Offsets
Make sure each paywall message has a link to the next offset, either by using a template like {{Goto}}, {{Offset button}}, or if using a URL (like for {{Clickable button}}), something like: {{fullurl:{{FULLPAGENAME}}|offset=2}}
.
The following code will produce the links you see below:
{{Goto|2|Click here for more savings}} {{Offset button|2|Click here for more savings}} {{Clickable button|url={{fullurl:{{FULLPAGENAME}}|offset=2}}|Click here for more savings}}
If you want to import this template to another wiki, your wiki will need to have the DPLforum extension installed.