1. Template
  2. Advisory

This page can be used as a building block in other pages.
[comment]
# detect advisory labels
[/comment][var]set|language|[if="{{{GL}}}"][span] title="Graphic language"|GL[/span][else /][if="{{{AL}}}"][span] title="Adult language"|AL[/span][/if][/if][/var][comment]
[/comment][var]set|nudity|[if="{{{N}}}"][span] title="Nudity"|N[/span][else /][if="{{{BN}}}"][span] title="Brief nudity"|BN[/span][/if][/if][/var][comment]
[/comment][var]set|violence|[if="{{{GV}}}"][span] title="Graphic violence"|GV[/span][else /][if="{{{V}}}"][span] title="Violence"|V[/span][else /][if="{{{MV}}}"][span] title="Mild violence"|MV[/span][/if][/if][/if][/var][comment]
[/comment][var]set|sex|[if="{{{SSC}}}"][span] title="Strong sexual content"|SSC[/span][else /][if="{{{SC}}}"][span] title="Sexual content"|SC[/span][/if][/if][/var][comment]

# build array
[/comment][var]set|labels|[comment]
# adult content (drugs, crude humor, underage)
[/comment][if="{{{AC}}}"][span] title="Adult content"|AC[/span][/if][comment]
# language
[/comment][if="[var]get|language[/var]"]|[var]get|language[/var][/if][comment]
# nudity w/ strong sexual content, if no adult content. otherwise nudity w/o strong sexual content
[/comment][if="{{{SSC}}}"][if="{{{AC}}}"][/else][if="[var]get|nudity[/var]"]|[var]get|nudity[/var][/if][/if][else /][if="[var]get|nudity[/var]"]|[var]get|nudity[/var][/if][/if][comment]
# sexual content
[/comment][if="[var]get|sex[/var]"]|[var]get|sex[/var][/if][comment]
# violence
[/comment][if="[var]get|violence[/var]"]|[var]get|violence[/var][/if][comment]
# rape
[/comment][if="{{{RP}}}"]|[span] title="Rape"|RP[/span][/if][comment]

# div start
[/comment][/var][div] style="background: #000; color: #aaa; padding: 0.5em" | [b]TV-{{{Rating|MA}}}[/b][comment]
# show labels
[/comment][if="[var]get|labels[/var]"]: [var]join|labels||,[span] [/span][/var][/if][comment]

# seizure warning
[/comment][if="{{{seizure}}}"][div][/div][b]Seizure warning![/b] This program contains flashing lights.[/if][comment]

# div end
[/comment][/div]

This page has been seen 182 times.

    • Created by on

Comments

  • No comments have been posted for this discussion.
  • Recent updates

    Back
    Top