Pathfinder Online Wiki
Log in

Difference between revisions of "User:Yoda8myhead/Feats reformat"

From Pathfinder Online Wiki
(Feats Format)
Line 16: Line 16:
  
 
==Feats Format  ==
 
==Feats Format  ==
 +
'''I want to make the following into an info box that floats on the right side of the page, a feature that is pretty standard for wikis on all sorts of subjects '''
 
{{WikiData/{{{FeatKind}}}_FormatTableHeader}}
 
{{WikiData/{{{FeatKind}}}_FormatTableHeader}}
 
{{#ifeq:{{{FeatKind}}}|PassiveFeats|{{WikiData/{{{FeatKind}}}_FormatTableRow|Feat={{{Feat}}}|FeatType={{{FeatType}}}|Role={{{Role}}}}}|{{WikiData/{{{FeatKind}}}/{{{Feat}}}|FormatTemplate=WikiData/{{{FeatKind}}}_FormatTableRow|FeatType={{{FeatType}}}|Role={{{Role}}}}}}}
 
{{#ifeq:{{{FeatKind}}}|PassiveFeats|{{WikiData/{{{FeatKind}}}_FormatTableRow|Feat={{{Feat}}}|FeatType={{{FeatType}}}|Role={{{Role}}}}}|{{WikiData/{{{FeatKind}}}/{{{Feat}}}|FormatTemplate=WikiData/{{{FeatKind}}}_FormatTableRow|FeatType={{{FeatType}}}|Role={{{Role}}}}}}}
 
{{TableFooter}}
 
{{TableFooter}}
<br />
+
 
<br />
+
'''This text will appear at the top of the article, flush with the top of the info box.'''
<br />
+
'''{{{Feat}}}''' is a {{{FeatKind}} [[Feat]] available to characters of the {{{Role}} role.
 +
 
 +
== Effects ==
 +
{{{Feat}}} has the following effects.
 +
 
 
{{WikiData/FeatEffects_FormatTableHeader}}
 
{{WikiData/FeatEffects_FormatTableHeader}}
 
{{WikiData/FeatEffects/{{{Feat}}}|FormatTemplate=WikiData/FeatEffects_FormatTableRow|Filter_Level=}}
 
{{WikiData/FeatEffects/{{{Feat}}}|FormatTemplate=WikiData/FeatEffects_FormatTableRow|Filter_Level=}}
 
{{TableFooter}}
 
{{TableFooter}}
<br />
+
 
<br />
+
==Levels ==
<br />
+
{{{Feat}}} has the following level advancement ''(is this the right term for this?)''.
 
{{WikiData/FeatLevels_FormatTableHeader}}
 
{{WikiData/FeatLevels_FormatTableHeader}}
 
{{WikiData/FeatLevels/{{{Feat}}}|FormatTemplate=WikiData/FeatLevels_FormatTableRow}}
 
{{WikiData/FeatLevels/{{{Feat}}}|FormatTemplate=WikiData/FeatLevels_FormatTableRow}}
 
{{TableFooter}}
 
{{TableFooter}}
 +
 +
'''There should be a navbox template here, pointing the user to other feats of the same type, similar to how PFWiki points to other books in the same line on a product page, to other deities on a deity page, etc. Once created, this can auto-populate based on the existing parameters.'''
 +
 +
This template should be able to auto-categorize feats so that you don't need to manually enter them. This can be done with the #switch parser function, setting each type of feat as a different value for the function. See [[:pfo:Template:Book]] for an example of this.

Revision as of 00:58, 25 September 2014

Template:WikiData/Feats Filter

Wiki Data/Feats_Filter

{{{{{FormatTemplate}}} |Feat={{{Feat}}} |FeatType={{{FeatType}}} |FeatKind={{{FeatKind}}} |Role={{{Role}}}}}

Feats Format

I want to make the following into an info box that floats on the right side of the page, a feature that is pretty standard for wikis on all sorts of subjects {{WikiData/{{{FeatKind}}}_FormatTableHeader}} {{WikiData/{{{FeatKind}}}/{{{Feat}}}|FormatTemplate=WikiData/{{{FeatKind}}}_FormatTableRow|FeatType={{{FeatType}}}|Role={{{Role}}}}} |}

This text will appear at the top of the article, flush with the top of the info box. {{{Feat}}} is a {Template:FeatKind Feat available to characters of the {

Ideology

{{{Ideology}}}

Types

{{{Types}}}

Features

{{{Features}}}

Combat

{{{Combat}}}

Special Tools

{{{Implement}}} role.

Effects

{{{Feat}}} has the following effects.

Template:WikiData/FeatEffects FormatTableHeader {{WikiData/FeatEffects/{{{Feat}}}|FormatTemplate=WikiData/FeatEffects_FormatTableRow|Filter_Level=}} |}

Levels

{{{Feat}}} has the following level advancement (is this the right term for this?). Template:WikiData/FeatLevels FormatTableHeader {{WikiData/FeatLevels/{{{Feat}}}|FormatTemplate=WikiData/FeatLevels_FormatTableRow}} |}

There should be a navbox template here, pointing the user to other feats of the same type, similar to how PFWiki points to other books in the same line on a product page, to other deities on a deity page, etc. Once created, this can auto-populate based on the existing parameters.

This template should be able to auto-categorize feats so that you don't need to manually enter them. This can be done with the #switch parser function, setting each type of feat as a different value for the function. See pfo:Template:Book for an example of this.