Template:Infobox Object: Difference between revisions

From Shadow Chronicles - Mortal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{{!}} class="floatright" style="width: 300px;"
{{#if: {{{image|}}}|
{{!}}colspan="2" style="text-align:center;" {{!}} [[File:{{{type|}}}_{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}.{{{image|}}}{{!}}290px{{!}}]]
{{!}}-}}
<!--            Weapons            -->
{{#if:{{{damage|}}}|{{infobox|section|'''Damage:'''|{{{damage|}}}}}}}
{{#if:{{{ranges|}}}|{{infobox|section|'''Ranges:'''|{{{ranges|}}}}}}}
{{#if:{{{capacity|}}}|{{infobox|section|'''Capacity:'''|{{{capacity|}}}}}}}
{{#if:{{{clip|}}}|{{infobox|section|'''Clip:'''|{{{clip|}}}}}}}
{{#if:{{{initiative|}}}|{{infobox|section|'''Initiative:'''|{{{initiative|}}}}}}}
{{#if:{{{strength|}}}|{{infobox|section|'''Strength:'''|{{{strength|}}}}}}}
<!--            Explosives            -->
{{#if:{{{blast|}}}|{{infobox|section|'''Blast Area:'''|{{{blast|}}}}}}}
{{#if:{{{force|}}}|{{infobox|section|'''Force:'''|{{{force|}}}}}}}
<!--            Generic            -->
{{#if:{{{size|}}}|{{infobox|section|'''Size:'''|{{{size|}}}}}}}
{{#if:{{{availability|}}}|{{infobox|section|'''Availability:'''|{{O|{{{availability|}}}}}}}}}
{{#if:{{{cost|}}}|{{infobox|section|'''Cost:'''|{{$|{{{cost|}}}}}}}}}
{{#if:{{{tags|}}}|{{infobox|section|'''Tags:'''|{{{tags|}}}}}}}
{{#if:{{{effects|}}}|{{infobox|section|'''Effects:'''|{{{effects|}}}}}}}
{{!}}}{{#switch: {{lc:{{{type|}}}}}
| artifact = [[Category:Artifacts]]
| item = [[Category:Objects]]
| weapon = [[Category:Weapons]]
| #default = [[Category:Objects]]
}}</includeonly><noinclude>
==Example use==
<nowiki>{{Infobox Object |type=<weapon/artifact/item/object>
|name          =
|image        =
|link          =
|damage        =
|ranges        =
|capacity      =
|clip          =
|initiative    =
|strength      =
|blast        =
|force        =
|tags          =
|effects      =
|size          =
|availability  =
|cost          =
}}</nowiki>
[[Category:Templates]]
==Templates==
=== Artifacts ===
{{Hide|  |
<nowiki>{{Infobox Object |type=artifact
|name          =
|image        =
|link          =
|effects      =
|size          =
|availability  =
|cost          =
}}</nowiki>
}}
{{raw:scGM:Infobox Object |type={{{type|}}}
{{raw:scGM:Infobox Object |type={{{type|}}}
|name          = {{{name|}}}
|name          = {{{name|}}}

Revision as of 21:31, 28 April 2017

<!DOCTYPE html> <html class="client-nojs" lang="en" dir="ltr"> <head> <meta charset="UTF-8"/> <title>Login required - Shadow Chronicles - Game Master</title> <script>document.documentElement.className="client-js";RLCONF={"wgBreakFrames":true,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"ZyQY1Rtbiqprmna_hdNhqwAAADA","wgCSPNonce":false,"wgCanonicalNamespace":"Template","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":10,"wgPageName":"Template:Infobox_Object","wgTitle":"Infobox Object","wgCurRevisionId":6196,"wgRevisionId":0,"wgArticleId":77,"wgIsArticle":false,"wgIsRedirect":false,"wgAction":"raw","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Template:Infobox_Object","wgRelevantArticleId":77,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":[],"wgRestrictionMove":[]};RLSTATE={"site.styles":"ready","user.styles":"ready", "user":"ready","user.options":"loading","skins.vector.styles.legacy":"ready"};RLPAGEMODULES=["site","mediawiki.page.ready","skins.vector.legacy.js"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.implement("user.options@1i9g4",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"});});});</script> <link rel="stylesheet" href="/load.php?lang=en&modules=skins.vector.styles.legacy&only=styles&skin=vector"/> <script async="" src="/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector"></script> <meta name="ResourceLoaderDynamicStyles" content=""/> <link rel="stylesheet" href="/load.php?lang=en&modules=site.styles&only=styles&skin=vector"/> <meta name="generator" content="MediaWiki 1.38.2"/> <meta name="robots" content="noindex,nofollow"/> <meta name="format-detection" content="telephone=no"/> <link rel="shortcut icon" href="http://shadowchronicles.nu/ico/IconSC.ico"/> <link rel="search" type="application/opensearchdescription+xml" href="/opensearch_desc.php" title="Shadow Chronicles - Game Master (en)"/> <link rel="EditURI" type="application/rsd+xml" href="http://gamemaster.shadowchronicles.nu/api.php?action=rsd"/> <link rel="alternate" type="application/atom+xml" title="Shadow Chronicles - Game Master Atom feed" href="/index.php?title=Special:RecentChanges&feed=atom"/> </head>

<body class="mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-10 ns-subject page-Template_Infobox_Object rootpage-Template_Infobox_Object skin-vector action-raw skin-vector-legacy">

<a id="top"></a>

Login required

<a class="mw-jump-link" href="#mw-head">Jump to navigation</a> <a class="mw-jump-link" href="#searchInput">Jump to search</a>

Please <a href="/index.php?title=Special:UserLogin&returnto=Template%3AInfobox+Object&returntoquery=action%3Draw" title="Special:UserLogin">log in</a> to view other pages.

Return to <a href="/index.php/Main_Page" title="Main Page">Main Page</a>.

Navigation menu

<nav id="p-personal" class="mw-portlet mw-portlet-personal vector-user-menu-legacy vector-menu" aria-labelledby="p-personal-label" role="navigation" > <label id="p-personal-label" aria-label="" class="vector-menu-heading"> Personal tools </label>

  • <a href="/index.php?title=Special:UserLogin&returnto=Template%3AInfobox+Object&returntoquery=action%3Draw" title="You need to log in to use this wiki [o]" accesskey="o">Log in</a>

</nav>

<nav id="p-namespaces" class="mw-portlet mw-portlet-namespaces vector-menu vector-menu-tabs" aria-labelledby="p-namespaces-label" role="navigation" > <label id="p-namespaces-label" aria-label="" class="vector-menu-heading"> Namespaces </label>

  • <a href="/index.php/Template:Infobox_Object" title="View the template [c]" accesskey="c">Template</a>
  • <a href="/index.php?title=Template_talk:Infobox_Object&action=edit&redlink=1" rel="discussion" title="Discussion about the content page (page does not exist) [t]" accesskey="t">Discussion</a>

</nav>


<nav id="p-variants" class="mw-portlet mw-portlet-variants emptyPortlet vector-menu-dropdown-noicon vector-menu vector-menu-dropdown" aria-labelledby="p-variants-label" role="navigation" > <input type="checkbox" id="p-variants-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-variants" class="vector-menu-checkbox" aria-labelledby="p-variants-label" /> <label id="p-variants-label" aria-label="Change language variant" class="vector-menu-heading"> English expanded collapsed </label>

    </nav>

    <nav id="p-views" class="mw-portlet mw-portlet-views vector-menu vector-menu-tabs" aria-labelledby="p-views-label" role="navigation" > <label id="p-views-label" aria-label="" class="vector-menu-heading"> Views </label>

    • <a href="/index.php/Template:Infobox_Object">Read</a>
    • <a href="/index.php?title=Template:Infobox_Object&action=edit" title="This page is protected. You can view its source [e]" accesskey="e">View source</a>
    • <a href="/index.php?title=Template:Infobox_Object&action=history" title="Past revisions of this page [h]" accesskey="h">View history</a>

    </nav>


    <nav id="p-cactions" class="mw-portlet mw-portlet-cactions emptyPortlet vector-menu-dropdown-noicon vector-menu vector-menu-dropdown" aria-labelledby="p-cactions-label" role="navigation" title="More options" > <input type="checkbox" id="p-cactions-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-cactions" class="vector-menu-checkbox" aria-labelledby="p-cactions-label" /> <label id="p-cactions-label" aria-label="" class="vector-menu-heading"> More expanded collapsed </label>

      </nav>



      <nav id="p-navigation" class="mw-portlet mw-portlet-navigation vector-menu vector-menu-portal portal" aria-labelledby="p-navigation-label" role="navigation" > <label id="p-navigation-label" aria-label="" class="vector-menu-heading"> Navigation </label>

      • <a href="/index.php/Main_Page" icon="home" title="Visit the main page [z]" accesskey="z">Main page</a>
      • <a href="/index.php/Special:RecentChanges" icon="recentChanges" title="A list of recent changes in the wiki [r]" accesskey="r">Recent changes</a>
      • <a href="/index.php/Special:Random" icon="die" title="Load a random page [x]" accesskey="x">Random page</a>
      • <a href="/index.php/Special:Random/Character">Random character</a>
      • <a href="/index.php/Special:RandomInCategory/Category:Active_Characters">Random active character</a>
      • <a href="/index.php/Special:RandomInCategory/Category:Player_Characters">Random player</a>

      </nav>


      <nav id="p-Shadow_Chronicles" class="mw-portlet mw-portlet-Shadow_Chronicles vector-menu vector-menu-portal portal" aria-labelledby="p-Shadow_Chronicles-label" role="navigation" > <label id="p-Shadow_Chronicles-label" aria-label="" class="vector-menu-heading"> Shadow Chronicles </label>

      • <a href="/index.php/Category:News">News</a>
      • <a href="/index.php/Timeline">Timeline</a>
      • <a href="/index.php/Category:Quest_Log">Quest Log</a>
      • <a href="/index.php/Establishment">Establishments</a>
      • <a href="/index.php/Danse_Macabre">Danse Macabre</a>

      </nav>

      <nav id="p-Characters" class="mw-portlet mw-portlet-Characters vector-menu vector-menu-portal portal" aria-labelledby="p-Characters-label" role="navigation" > <label id="p-Characters-label" aria-label="" class="vector-menu-heading"> Characters </label>

      • <a href="/index.php/Category:Mortal_Characters">Mortal Characters</a>
      • <a href="/index.php/Category:Kindred_Characters">Kindred Characters</a>
      • <a href="/index.php/Category:Ghoul_Characters">Ghoul Characters</a>
      • <a href="/index.php/Category:Player_Characters">Player Characters</a>
      • <a href="/index.php/Category:Active_Character">Active Characters</a>

      </nav>

      <nav id="p-Network" class="mw-portlet mw-portlet-Network vector-menu vector-menu-portal portal" aria-labelledby="p-Network-label" role="navigation" > <label id="p-Network-label" aria-label="" class="vector-menu-heading"> Network </label>

      </nav>

      <nav id="p-tb" class="mw-portlet mw-portlet-tb vector-menu vector-menu-portal portal" aria-labelledby="p-tb-label" role="navigation" > <label id="p-tb-label" aria-label="" class="vector-menu-heading"> Tools </label>

      • <a href="/index.php/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q">Special pages</a>

      </nav>


      <footer id="footer" class="mw-footer" role="contentinfo" >

      </footer>

      <script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgBackendResponseTime":393});});</script> </body> </html>

      Example use

      {{Infobox Object |type=<weapon/artifact/item/object>
      |name          = 
      |image         = 
      |link          = 
      
      |damage        = 
      |ranges        = 
      |capacity      = 
      |clip          = 
      |initiative    = 
      |strength      = 
      
      |blast         = 
      |force         = 
      
      |tags          = 
      |effects       = 
      
      |size          = 
      |availability  = 
      |cost          = 
      }}
      

      Navigation menu