Difference between revisions of "User:Trimoon/sandbox"

From Project: Gorgon Wiki
Jump to: navigation, search
m (Favors)
m (DPL)
Line 2: Line 2:
 
== DIV Table ==
 
== DIV Table ==
 
[[/DIV Table]]
 
[[/DIV Table]]
== DPL ==
+
{{/DPL}}
See: [http://semeb.com/dpldemo/index.php?title=DPL:Manual DPL Manual], [[DPL Extension Testing Ground]]
 
=== {{t|MAP infobox}} ===
 
{{ #dpl:
 
| uses = Template:MAP infobox
 
| count              = {%DPL_count:50%}
 
| resultsheader      = ²{Extension DPL continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}²\n
 
| resultsfooter      = ²{Extension DPL continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}² %DPLTIME%\n
 
| scroll            = yes
 
| columns            = 3
 
}}
 
 
 
=== [[:Category:Fire Magic abilities]] ===
 
{{Ability table
 
| category = Fire Magic abilities
 
}}
 
 
 
=== {{t|MOB infobox}} ===
 
{{#dpl:
 
| uses = Template:MOB infobox
 
| format = <ul>,<li>²{MOB¦name=%TITLE%¦iconsize=big}²,</li>,</ul>
 
| count              = {%DPL_count:50%}
 
| resultsheader      = ²{Extension DPL continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}²\n
 
| resultsfooter      = ²{Extension DPL continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}² %DPLTIME%\n
 
| scroll            = yes
 
| columns            = 3
 
}}
 
 
 
=== Templates not using {{t|SPW}} ===
 
{{ #dpl:
 
| namespace = Template
 
| notuses = Template:SPW
 
| count              = {%DPL_count:50%}
 
| resultsheader      = ²{Extension DPL continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}²\n
 
| resultsfooter      = ²{Extension DPL continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}² %DPLTIME%\n
 
| scroll            = yes
 
| columns            = 3
 
}}
 
 
 
=== Favors ===
 
<dpl>
 
  uses      = Template:NPC infobox
 
  include    = #Small Talk
 
  reset      = categories
 
  table      = class="sortable table",NPC Name,Favor
 
  tablerow  = style="font-weight:bold"¦%%,
 
  columns    = 2
 
</dpl>
 
  
 
== [[Template:Notice/doc]] ==
 
== [[Template:Notice/doc]] ==

Revision as of 15:21, 29 April 2016

DIV Table

/DIV Table

DPL

See: DPL Manual, DPL Extension Testing Ground

User:Trimoon/sandbox/MAP infobox User:Trimoon/sandbox/MOB infobox User:Trimoon/sandbox/Fire Magic abilities User:Trimoon/sandbox/not SPW User:Trimoon/sandbox/Favors

Template:Notice/doc

Parameters

  • Recommended: |type=
    Notice box header text.
    Default: |type=Header text
  • Recommended: |info=
    Notice box additional info.
    Default: |type=Explanation
  • Optional: |image=
    Notice box symbol image.
    Provide the image-filename with extension, or use |image=no to completely remove/inhibit the image part.
    Default: |image=Gtk-ok.png
  • Optional: |imageSize=
    Notice box symbol image-size.
    Provide the image-size including the unit, eg: px, part.
    Default: |imageSize=50px
  • Optional: |border=
    Notice box left-border-bar definition.
    Use |border=definition, where definition is a valid custom definition for the CSS property border-left[1].
    Or use |border=preset, where preset is one of the predefined names below:
    •     red ⇒ 10px solid #b22222
    •     orange ⇒ 10px solid #f28500
    •     yellow ⇒ 10px solid #f4c430
    •     purple ⇒ 10px solid #9932cc
    •     blue ⇒ 10px solid #1e90ff
    •     green ⇒ 10px solid #228b22
    •     gray ⇒ 10px solid #bba
    Default: |border=blue
    You don't need to provide the ; at the end to properly terminate the definition(s) because it will be appended automatically for proper functionality.
  • Optional: |float=side
    Float the Notice box.
    Where side can be one of: (Case insensitive)
    • l or left
    • r or right
    • n or none
    When anything else is provided it will be treated as none.
    When used it alters the default value for styleWidth of |style=(see below) as following when the effective floating is:
    • left ⇒ 25%
    • right ⇒ 25%
    • none ⇒ 50%
  • Optional: |style=inline-CSS;
    Used to completely override the inline-CSS[2] used in the style-attribute [3] of the table that generates the Notice box.
    Where inline-CSS; defaults to:
    font-size:{{{styleFontSize}}}; margin:{{{styleMargin}}}; border:{{{styleBorder}}}; border-collapse:{{{styleBorderCollapse}}}; background-color:{{{styleBackgroundColor}}}; border-left:{{{border}}}; <optional:[ float:side;]> width:{{{styleWidth}}};
    To override CSS Properties[1] used in the parts of the default shown above you can use: (their defaults shown as value)
    • |styleFontSize=95%
    • |styleMargin=0 auto
    • |styleBorder=1px #aaa solid
    • |styleBorderCollapse=collapse (See: CSS-Property: border-collapse@w3cschools)
    • |styleBackgroundColor=#eee
    • |styleWidth=80% (Default value is altered when |float=(see above) is used.)

  1. 1.0 1.1 For a complete listing of CSS Properties, see CSS Properties@w3cschools
  2. inline-CSSis a composition of CSS Properties
  3. For more info on the style-attribute see info@w3schools.