Difference between revisions of "Template:CharacterInfobox"

From ShadowHaven Reloaded
Jump to navigation Jump to search
 
(26 intermediate revisions by the same user not shown)
Line 4: Line 4:
|title = {{PAGENAME}}
|title = {{PAGENAME}}
|image= {{#if: {{{Image|}}}|{{{Image|}}}| [[File:Placeholder2.jpg|200px]] }}  
|image= {{#if: {{{Image|}}}|{{{Image|}}}| [[File:Placeholder2.jpg|200px]] }}  
|header1={{{Archetype|}}}
|header1= [[Archetype::{{{Archetype|}}}]]
|header2={{{Shortblurb1|}}}
|header2={{{Shortblurb1|}}}
|header3={{{Shortblurb2|}}}
|header3={{{Shortblurb2|}}}
|header4={{{Shortblurb3|}}}
|header4={{{Shortblurb3|}}}
|label5= Discord
|data5= {{{OwnersDiscordName|}}}
|label6= Reddit
|data6= {{#if: {{{OwnersRedditName|}}} | [https://www.reddit.com/user/{{{OwnersRedditName}}} {{{OwnersRedditName}}}]}}
|label7= Wiki User
|data7 = {{#if: {{{YourWikiUsername|}}} | [[User:{{{YourWikiUsername}}}|{{{YourWikiUsername}}}]] [[Player::{{{YourWikiUsername}}}| ]] }}
|label8= Metatype
|data8= {{#if: {{{Metatype|}}} | {{#if: {{{Metavariant|}}} | [[Metatype::{{{Metatype}}} ({{{Metavariant}}})]] | [[Metatype::{{{Metatype}}}]] }} }}
|label9= Street Cred
|data9= {{{StreetCred|}}}
|label10= Notoriety
|data10= {{{Noteriety|}}}
|label11= Public Awareness
|data11= {{{PublicAwareness|}}}
|label12= Titles and Awards
|data12= {{{TitlesAndAwards|}}}
|label13= CDP
|data13= {{{CDP|}}}
|label14= D.O.B.
|data14= {{#if: {{{DateOfBirth|}}} | {{#time: {{{DateFormatString|Y-m-d}}} | {{{DateOfBirth|}}} }} }}
|label15= Age
|data15= {{#if: {{{DateOfBirth|}}} | {{Age|Year={{#time: Y | {{{DateOfBirth|}}} }}|Month={{#time:m | {{{DateOfBirth|}}} }}|Day={{#time:d | {{{DateOfBirth|}}} }} }} }}
|label16= Folder
|data16= {{{FolderLink|}}}
|label17= Priority
|data17= {{#if: {{{Priority|}}} | Metatype - {{#sub: {{{Priority|}}}|0|1}} <br /> Attributes - {{#sub: {{{Priority|}}}|1|1}} <br /> Magic/Resonance - {{#sub: {{{Priority|}}}|2|1}} <br /> Skills - {{#sub: {{{Priority|}}}|3|1}} <br /> Resources - {{#sub: {{{Priority|}}}|4|1}} }}
|label18= #Max IGs/Ascension
|data18= {{{MaxIGorAscensions|}}}
|label19= # Optional Infected powers allowed
|data19= {{{Infected|}}}
|label20 = Essence(Current/Max)
|data20 = {{{Strain1Essence|}}}
|label21 = # Optional Drake powers available
|data21 = {{{Drake|}}}
}}
}}


|{{#invoke:Infobox|infobox}} <!-- Executed if it's not the simipler template -->
|{{#invoke:Infobox|infobox}} <!-- Executed if it's not the simpler template -->
}} <!-- end of ifeq: 1 -->
}} <!-- end of ifeq: 1 -->
<noinclude>
<noinclude>
==Usage==
To use this template, copy the code below.  Then paste it into your character page and fill out the information.  Once this is on your page and filled out, you no longer need the Infobox or CharacterInfobox that used to hold this information.
<big>'''You do not need to edit this template to copy the necessary information, just copy it here and now.'''</big>


<pre>
<pre>
{{CharacterInfobox
{{CharacterInfobox <!-- Start copying at the beginning of this line -->
|YourWikiUsername=
|YourWikiUsername=
|Image= [[File:Placeholder.png|200px]] <!-- change the file to match your uploaded picture -->
|Image= [[File:Placeholder.png|200px]] <!-- change the file to match your uploaded picture -->
Line 29: Line 68:
|Noteriety=
|Noteriety=
|PublicAwareness=
|PublicAwareness=
|TitlesAndAwards=
|CDP={{CDP  
|CDP={{CDP  
|Expenses=0  
|Expenses=0  
|Bonuses=0  
|Bonuses=0  
|}} <!-- The above will automatically add +2 CDP for each AAR your character is tagged in. You can note expenses and any bonus CDP you gain above to adjust your current CDP total. -->
|}} <!-- The above will automatically add +2 CDP for each AAR your character is tagged in. You can note expenses and any bonus CDP you gain above to adjust your current CDP total. -->
|DateOfBirth= <!- format as YYYY-MM-DD -->
|DateOfBirth= <!-- format as YYYY-MM-DD. Other formats may work, but use at your own risk.-->
|DateFormatString= Y-m-d <!-- Other possibilites may work, change at your own risk -->
|FolderLink=[Drive URL Link]
|FolderLink=[Drive URL Link]
|Priority=AACEE
|Priority=AACEE <!-- Format as capital letters representing priority selections in order of Metatype, Attribute, Magic/Resonance, Skills, and Money with no spaces as illustrated. -->
|DateOfFirstRun= <!- format as YYYY-MM-DD -->
 
|MundAwakeEmerge= <!-- 0 for mundane, 1 for mage/mysad, 2 for adept, 3 for techno -->
<!--Delete from here if character is a techno. -->
|MaxIGorAscensions={{IGTracker| <!-- Leave this line alone, enter the month, day, and year of the first run below in numeric format. Set the awakened status to 0 if you are mundane, 1 for Mage/Mystic Adept and 2 for the other awakened.-->
|Month=
|Day=
|Year=
|AwakenedStatus=
|}} <!-- Delete to here if the character is a techno. -->


<!-- Delete from here if not infected -->
<!-- Delete from here if not infected -->
Line 46: Line 93:
|Owned=
|Owned=
|}}
|}}
<!-- Below here only for Strain 1.  It may be deleted otherwise or simply not used if you prefer. -->
|Strain1Essence={{Strain1EssenceTracker
|Strain1Essence={{Strain1EssenceTracker
|EssenceLost=0
|EssenceLost=0
Line 51: Line 99:
|ActivePowersUsed=0
|ActivePowersUsed=0
|EssenceExpansion=0
|EssenceExpansion=0
|}}<!-- Delete to here if not infected -->
|}} <!-- Delete to here if not infected -->


<!-- Delete from here if not a drake -->
<!-- Delete from here if not a drake -->
Line 63: Line 111:


|CharacterInfoboxData=1 <!-- Do not change this line.  Seriously.  Don't even think about it.  Just leave it be and WALK AWAY. -->
|CharacterInfoboxData=1 <!-- Do not change this line.  Seriously.  Don't even think about it.  Just leave it be and WALK AWAY. -->
}}
}} <!-- Stop Copying at the end of this line. -->
</pre>
</pre>
<big>This entire bit needs to be re-written</big>
<strike>This template is intended as a meta template: a template used for constructing other templates. '''Note''': In general, it is not meant for use directly in an article, but can be used on a one-off basis if required. ((Help:Infobox)) contains an introduction about the recommended content and design of infoboxes; ((Wikipedia:Manual of Style/Infoboxes)) contains additional style guidelines. See ((WP:List of infoboxes)) and ((:Category:Infobox templates)) for lists of prepared topic-specific infoboxes.</strike>
Full doccumentation can be found [https://www.shadowhaven.info/index.php?title=Template:Infobox/doc&oldid=39 here].
== Usage ==
== Subboxes ==
An alternative method for embedding is to use {{para|subbox|yes}}, which removes the outer border from the infobox, but preserves the interior structure.  One feature of this approach is that the parent and child boxes need not have the same structure, and the label and data fields are not aligned between the parent and child boxes because they are not in the same parent table.
{{CharacterInfobox
| headerstyle = background-color:#eee;
| labelstyle  = background-color:#eee;
| header1 = Main 1
| header2 = Main 2
|  data3 = {{Infobox | subbox = yes
    | headerstyle = background-color:#ccc;
    | labelstyle  = background-color:#ddd;
    | header1 = Sub 3-1
    | header2 = Sub 3-2
    |  label3 = Label 3-3    |  data3 = Data 3-3
  }}
|  data4 = {{Infobox | subbox = yes
    | labelstyle  = background-color:#ccc;
    |  label1 = Label 4-1    |  data1 = Data 4-1
  }}
|  label5 = Label 5 |  data5 = Data 5
| header6 = Main 6
}}
<pre style="overflow:auto">
{{CharacterInfobox
| headerstyle = background-color:#eee;
| labelstyle  = background-color:#eee;
| header1 = Main 1
| header2 = Main 2
|  data3 = {{Infobox | subbox = yes
    | headerstyle = background-color:#ccc;
    | labelstyle  = background-color:#ddd;
    | header1 = Sub 3-1
    | header2 = Sub 3-2
    |  label3 = Label 3-3    |  data3 = Data 3-3
  }}
|  data4 = {{Infobox | subbox = yes
    | labelstyle  = background-color:#ccc;
    |  label1 = Label 4-1    |  data1 = Data 4-1
  }}
|  label5 = Label 5 |  data5 = Data 5
| header6 = Main 6
}}
</pre>{{clear}}
== Full blank syntax ==
(Note: there is no limit to the number of possible rows; only 20 are given below since infoboxes larger than that will be relatively rare. Just extend the numbering as needed. The microformat "class" parameters are also omitted as they are not commonly used.)
<pre style="overflow:auto">
{{CharacterInfobox
| name          = {{subst:PAGENAME}}
| child          = {{{child|}}}
| subbox        = {{{subbox|}}}
| italic title  = {{{italic title|no}}}
| bodystyle      =


| titlestyle    =
| abovestyle    =
| subheaderstyle =
| title          =
| above          =
| subheader      =
|  imagestyle  =
| captionstyle  =
|  image        =
| caption        =
|  image2      =
| caption2      =
| headerstyle    =
|  labelstyle    =
|  datastyle    =
| header1  =
|  label1  =
|  data1  =
| header2  =
|  label2  =
|  data2  =
| header3  =
|  label3  =
|  data3  =
| header4  =
|  label4  =
|  data4  =
| header5  =
|  label5  =
|  data5  =
| header6  =
|  label6  =
|  data6  =
| header7  =
|  label7  =
|  data7  =
| header8  =
|  label8  =
|  data8  =
| header9  =
|  label9  =
|  data9  =
| header10 =
|  label10 =
|  data10 =
| header11 =
|  label11 =
|  data11 =
| header12 =
|  label12 =
|  data12 =
| header13 =
|  label13 =
|  data13 =
| header14 =
|  label14 =
|  data14 =
| header15 =
|  label15 =
|  data15 =
| header16 =
|  label16 =
|  data16 =
| header17 =
|  label17 =
|  data17 =
| header18 =
|  label18 =
|  data18 =
| header19 =
|  label19 =
|  data19 =
| header20 =
|  label20 =
|  data20 =
| belowstyle    =
| below          =
}}
</pre>{{clear}}
{{Help:Infobox/user style}}
[[Category:Templates]]
[[Category:Templates]]
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
</noinclude>
</noinclude>

Latest revision as of 16:50, 25 November 2024


Usage

To use this template, copy the code below. Then paste it into your character page and fill out the information. Once this is on your page and filled out, you no longer need the Infobox or CharacterInfobox that used to hold this information.

You do not need to edit this template to copy the necessary information, just copy it here and now.

{{CharacterInfobox <!-- Start copying at the beginning of this line -->
|YourWikiUsername=
|Image= [[File:Placeholder.png|200px]] <!-- change the file to match your uploaded picture -->
|Archetype=
|Shortblurb1=
|Shortblurb2=
|Shortblurb3=
|OwnersRedditName=
|OwnersDiscordName=
|Metatype= <!-- the base metatype -->
|Metavariant= <!-- the metavariant, leave blank if none -->
|StreetCred=
|Noteriety=
|PublicAwareness=
|TitlesAndAwards=
|CDP={{CDP 
|Expenses=0 
|Bonuses=0 
|}} <!-- The above will automatically add +2 CDP for each AAR your character is tagged in. You can note expenses and any bonus CDP you gain above to adjust your current CDP total. -->
|DateOfBirth= <!-- format as YYYY-MM-DD. Other formats may work, but use at your own risk.-->
|DateFormatString= Y-m-d <!-- Other possibilites may work, change at your own risk -->
|FolderLink=[Drive URL Link]
|Priority=AACEE <!-- Format as capital letters representing priority selections in order of Metatype, Attribute, Magic/Resonance, Skills, and Money with no spaces as illustrated. -->

<!--Delete from here if character is a techno. -->
|MaxIGorAscensions={{IGTracker| <!-- Leave this line alone, enter the month, day, and year of the first run below in numeric format. Set the awakened status to 0 if you are mundane, 1 for Mage/Mystic Adept and 2 for the other awakened.-->
|Month=
|Day=
|Year=
|AwakenedStatus=
|}} <!-- Delete to here if the character is a techno. -->

<!-- Delete from here if not infected -->
|Infected={{InfectedPowers <!-- Leave this line alone, enter the month, day, and year of the first run after infection below in numeric format. Leave blank if you aren't infected -->
|Month=
|Day=
|Year=
|Owned=
|}}
<!-- Below here only for Strain 1.  It may be deleted otherwise or simply not used if you prefer. -->
|Strain1Essence={{Strain1EssenceTracker
|EssenceLost=0
|EssenceDrained=0
|ActivePowersUsed=0
|EssenceExpansion=0
|}} <!-- Delete to here if not infected -->

<!-- Delete from here if not a drake -->
|Drake={{DrakePowers
|Month=
|Day=
|Year=
|Major=0
|Minor=0
|}}<!-- Delete to here if not a drake -->

|CharacterInfoboxData=1 <!-- Do not change this line.  Seriously.  Don't even think about it.  Just leave it be and WALK AWAY. -->
}} <!-- Stop Copying at the end of this line. -->