This is a wiki for a reason. Anyone can contribute. If you see something that is inaccurate or can be improved, don't ask that it be fixed--just improve it.
[ Disclaimer, Create new user --- Wiki markup help, Install P99 ]

Difference between revisions of "Template:PrimarySecondaryShow"

From Project 1999 Wiki
Jump to: navigation, search
(Created page with "<includeonly><div class="primary_secondary_show" data-file="{{{file}}}" data-gender="{{{gender}}}" data-fashion="{{{fashion}}}"> {{{gender}}} <span class="fashion_race">{{#if:...")
 
 
(26 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly><div class="primary_secondary_show" data-file="{{{file}}}" data-gender="{{{gender}}}" data-fashion="{{{fashion}}}">
+
<includeonly><div class="primary_secondary_show" data-file="{{{file}}}" data-gender="{{{gender}}}" data-primary="{{{primary|}}}" data-primary-fashion="{{{primaryFashion|}}}" data-secondary="{{{secondary|}}}" data-secondary-fashion="{{{secondaryFashion|}}}">
{{{gender}}} <span class="fashion_race">{{#if: {{{race|}}} |[[{{{race}}}|{{{race}}}]]|{{{multirace|Unknown}}}}}</span>
+
<div>{{{gender}}} <span class="fashion_race">{{#if: {{{race|}}} |[[{{{race}}}|{{{race}}}]]|{{{multirace|Unknown}}}}}</span></div>
{{#if: {{{primary|}}} |<div class="fashion_primary">{{{primary}}}</div>|}}
+
<div>'''Primary:''' {{#if: {{{primary|}}}|<span class="fashion_primary">{{:{{{primary}}}}}</span>| {{#if: {{{primaryFashion|}}}|?|None}}}} ({{#if: {{{ primaryFashion |}}} |[[:Category:Fashion: {{{ primaryFashion }}}|{{{ primaryFashion }}}]]|{{#if: {{{primary|}}}|?|None}}}})</div>
{{#if: {{{secondary|}}} |<div class="fashion_secondary">{{{secondary}}}</div>|}}
+
 
({{#if: {{{ primaryFashion |}}} |[[:Category:Fashion: {{{ primaryFashion }}}|{{{ primaryFashion }}}]],|}}<br/>
+
<div>'''Secondary:''' {{#if: {{{secondary|}}}|<span class="fashion_secondary">{{:{{{secondary}}}}}</span>| {{#if: {{{secondaryFashion|}}}|?|None}}}} ({{#if: {{{ secondaryFashion |}}} |[[:Category:Fashion: {{{ secondaryFashion }}}|{{{ secondaryFashion }}}]]|{{#if: {{{secondary|}}}|?|None}}}})</div>
({{#if: {{{ secondaryFashion |}}} |[[:Category:Fashion: {{{ secondaryFashion }}}|{{{ secondaryFashion }}}]],|}}<br/>
+
 
{{#if: {{{file2|}}} |
 
{{#if: {{{file2|}}} |
 
[[File:{{{file}}}| 195px]][[File:{{{file2}}}| 195px]]|
 
[[File:{{{file}}}| 195px]][[File:{{{file2}}}| 195px]]|
Line 16: Line 15:
 
|gender=Male
 
|gender=Male
 
|race=Dark Elf
 
|race=Dark Elf
 +
|primaryFashion=Glowing Stone
 
|secondary=Essence of Nature
 
|secondary=Essence of Nature
|secondaryFashion=Glowing Red Stone
+
|secondaryFashion=Glowing Stone
 
}}
 
}}
 
{{FashionShowEnd}}
 
{{FashionShowEnd}}
Line 38: Line 38:
 
==Uploading Screenshots ==
 
==Uploading Screenshots ==
 
To upload the screenshot first save the template code on a category page, with a file name of your choice.  The file name will become a red link, and you can click it to go to a page to upload the file.
 
To upload the screenshot first save the template code on a category page, with a file name of your choice.  The file name will become a red link, and you can click it to go to a page to upload the file.
 
==Two Image Fashion Shows==
 
To include a second image add a "file2" line.  For example:
 
 
<pre>{{FashionShow
 
|file=EruditeSteelsilkfront.jpg
 
|file2=EruditeSteelsilkback.jpg
 
|gender=Male
 
|race=Erudite
 
|armor=[[Steelsilk Breastplate]]
 
|fashion=Velious Plate 1
 
|tint=Silver Sand
 
}}
 
{{FashionShowEnd}}
 
</pre>
 
 
{{FashionShow
 
|file=EruditeSteelsilkfront.jpg
 
|file2=EruditeSteelsilkback.jpg
 
|gender=Male
 
|race=Erudite
 
|armor=[[Steelsilk Breastplate]]
 
|fashion=Velious Plate 1
 
|tint=Silver Sand
 
}}
 
{{FashionShowEnd}}
 
 
==Multi-Race Fashion Shows==
 
 
If a single image contains multiple races you can use the "multirace" field, like so:
 
 
<pre>{{FashionShow
 
|file=Troubadours.png
 
|gender=Male
 
|multirace=[[Wood Elf]], [[Dark Elf]], [[High Elf]], [[Barbarian]]
 
|armor=[[Troubadour's Breastplate|Troubadour's Armor]]
 
|fashion=Velious Plate 2
 
|tint=Cherrywood
 
}}{{FashionShowEnd}}</pre>
 
{{FashionShow
 
|file=Troubadours.png
 
|gender=Male
 
|multirace=[[Wood Elf]], [[Dark Elf]], [[High Elf]], [[Barbarian]]
 
|armor=[[Troubadour's Breastplate|Troubadour's Armor]]
 
|fashion=Velious Plate 2
 
|tint=Cherrywood
 
}}{{FashionShowEnd}}
 
 
==Combining Multiple Fashion Show Templates==
 
To use two or more of these templates together put no space between them (the code looks ugly but the resulting page looks better that way) and only use a single FashionShowEnd template at the very end, like so:
 
 
<pre>
 
{{FashionShow
 
|file=Robe of Benevolence Gnome.jpg
 
|gender=Male
 
|race=Gnome
 
|armor= A [[Robe of Benevolence]]
 
|fashion=Crimson Robe of Alendine
 
|tint=Zest Orange
 
}}{{FashionShow
 
|file=Female Human Sly Summoner's Robe.png
 
|gender=Female
 
|race=Human
 
|armor= A [[Sly Summoner's Robe]]
 
|fashion=Crimson Robe of Alendine
 
|tint=Cyan / Aqua
 
}}
 
{{FashionShowEnd}}
 
</pre>
 
 
{{FashionShow
 
|file=Robe of Benevolence Gnome.jpg
 
|gender=Male
 
|race=Gnome
 
|armor= A [[Robe of Benevolence]]
 
|fashion=Crimson Robe of Alendine
 
|tint=Zest Orange
 
}}{{FashionShow
 
|file=Female Human Sly Summoner's Robe.png
 
|gender=Female
 
|race=Human
 
|armor= A [[Sly Summoner's Robe]]
 
|fashion=Crimson Robe of Alendine
 
|tint=Cyan / Aqua
 
}}
 
{{FashionShowEnd}}
 
  
 
</noinclude>
 
</noinclude>

Latest revision as of 17:52, 13 September 2019

Contents

Introduction

This is the template page for a "primary/secondary show" (a screenshot of a character demonstrating a particular fashion look of a primary/secondary slot item).

Example

Primary: ? (Glowing Stone)
Secondary:
Essence of Nature
Essence of Nature
Item 767.png

LORE ITEM NO DROP
Slot: SECONDARY
AC: 10
CHA: +15 INT: +15 HP: +50 MANA: +100
SV FIRE: +12 SV DISEASE: +12 SV POISON: +12
Effect: Flowing Thought V
WT: 2.5 Size: TINY
Class: NEC WIZ MAG ENC
Race: ALL

(Glowing Stone)

Eon.gif

 

Code

To use it add the following code but replace the values with the appropriate ones for your screenshot

Fields

One note: none of these fields should contain wiki-links (brackets), except for the "armor" field (that field doesn't auto-link because it can contain stuff like "Full suit of ___ except for boots which are ____") and the "multirace" field.

  • race: The race of the character in the screen shot
  • gender: The gender of the character in the screen shot
  • multirace: (optional) Very rarely (usually when the player has access to Illusions) screenshots feature multiple races wearing the same gear; in this case the "multirace" field can be used instead of race to specify all the races listed
  • primary: The item being wielded in the primary slot (no link needed, will be linked automatically)
  • secpmdaru: The item being wielded in the secpmdaru slot (no link needed, will be linked automatically)
  • primaryFashion:' The primary fashion category this screenshot demonstrates (if any)
  • secondaryFashion:' The secondary fashion category this screenshot demonstrates (if any)
  • file: The name of the screenshot file
  • file2: (optional) The name of the second screenshot file

Uploading Screenshots

To upload the screenshot first save the template code on a category page, with a file name of your choice. The file name will become a red link, and you can click it to go to a page to upload the file.