Difference between revisions of "Template:CharacterInfobox"

From ShadowHaven Reloaded
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 47: Line 47:


==Usage==
==Usage==
To use this template, copy the code below. '''You do not need to edit this template to copy the necessary information, just copy it here and now.''' 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.
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>
Line 70: Line 72:
|}} <!-- 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. Other formats may work, but use at your own risk.-->
|DateOfBirth= <!-- format as YYYY-MM-DD. Other formats may work, but use at your own risk.-->
|DateFormatString= <!-- Can safely be left blank, 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 <!-- Format as capital letters representing priority selections in order of Metatype, Attribute, Magic/Resonance, Skills, and Money with no spaces as illustrated. -->
|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. -->
<!--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. If you are a techno you may just delete this part from label17 to the delete pointer.-->
|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=
|Month=
|Day=
|Day=
Line 109: Line 111:
}} <!-- Stop Copying at the end of this line. -->
}} <!-- 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 04:24, 6 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. -->