Jump to content
Sign in to follow this  
TechAngel85

CustomTag

Recommended Posts

Custom Tag Templates

Purpose & Usage

Use this template to create a custom tag, as seen in the Step Guides' Changelogs, anywhere within a page's text. The tag is automatically formatted based on the parameters passed and is an inline element, meaning its use will not break the line.

Template

{{CustomTag|color=|size=|tag=}}

 
Parameters

  • color is the keyword entered which determines the text color; it also accepts all valid CSS.
  • size sets the font size. Default is 1.03em of current line's size. Accepts all valid CSS for font-size.
  • tag is the text displayed. Some specific tags are reserved for Step's use. See the chart on the wiki page for more details.

Share this post


Link to post
Share on other sites

This template has been updated.

 

The update includes changes that will break previous uses of it. However, they were necessary to add more functionality and the content using this template is outdated, though I updated some of it. The updates are...

  • ...font color must now be defined using color parameter and keywords updated. This was to update the parameter to accept any valid CSS for the color property.
  • ...new parameter added to control the font size.
  • ...the tag's text must now be defined using the tag parameter. This was to help pass along user formatting and will allow other templates to be passed.
  • ...reserved some tags for Step's use. Inputting these tags will result in the default output for those tags. (see OP)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Similar Content

    • By TechAngel85
      Modlisting Template
       
      Purpose & Usage
      This template displays a stylized mod listing and instruction set/info boxes on the page. It's meant to replace the templates users are creating on their own Userspaces (which likely originated from here), as well as, replaces this template: {{Fallout4Mod}}

      Template & Parameters

      This is a large template with lots of parameters. See template page for implementation.
       
      It includes a helper template to display the flags: Template:ModlistFlag
    • By TechAngel85
      Alert Small Template
       
      Purpose & Usage
      This template displays a small, inline-block "alert" on the page.
       
      This template replaces the following templates: {{Bug Small}} , {{Construction Small}} , {{FO3 Note}} , {{FNV Note}} , {{Loot Rule}} ,  {{Notice Small}} , and {{Warning Small}}
       
      Template

      {{alert small|type=keyword|size=##|text=ContentHere}}  Parameters
      type is required and the keyword entered which determines the alert displayed. size is optional and sets the width in percentage. Default is 70. text is required and is the content of the alert.
    • By TechAngel85
      Alert Template
       
      Purpose & Usage
      This template displays a blocked out "alert" on the page.
       
      This template replaces the following templates: {{bug}} , {{construction}} , {{mcm note}} , {{MO Note}} , {{notice}} , and {{warning}}
       
      Template

      {{alert|type=keyword|size=##|text=ContentHere}}  
      Parameters
      type is required and the keyword entered which determines the alert displayed. size is optional and sets the width in percentage. Default is 70. text is required and the content of the alert.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.