User:Hbiede/Profiles View history

No edit summary
(Transclusion Sections)
Line 30: Line 30:


“gho=NAME” can be included at the end to display your name (as it is displayed on Google Hangouts) and “pic=File:FILENAME” to include a profile image.
“gho=NAME” can be included at the end to display your name (as it is displayed on Google Hangouts) and “pic=File:FILENAME” to include a profile image.
==Different Comments for Different Occasions==
Lets say you want to have two different comments for different tables (ie. I have my [[Nebraska]] entry say "Nebraska State Manager" and my Montana entry say "NWR-PLN Collab/NE SM"). This can be accomplished via transclusion sections. For a simple setup of 2 options, follow the below example:
<pre><!--{{User:Hbiede/Profile|transcludesection="SECTIONNAME"}}-->
<noinclude>{|border=“1”</noinclude>
<onlyinclude>
{{AM/Editor|HBiede|4|Nebraska and Western Montana|{{#ifeq:{{{transcludesection|SECTIONNAME}}}|SECTIONNAME |''Comment if SECTIONNAME''|''Comment if not SECTIONNAME''}}|badge1=sm|badge2=lam}}
</onlyinclude>
<noinclude>|}</noinclude></pre>
This allows you to include "|transcludesection="SECTIONNAME"" to display "Comment if SECTIONNAME" while any other section name will display "Comment if not SECTIONNAME". For a more complex example, where you can have 3+ comments, use the following:
<pre><!--{{User:Hbiede/Profile}}-->
<noinclude>{|border=“1”</noinclude>
<onlyinclude>
{{AM/Editor|HBiede|4|Nebraska and Western Montana|{{#ifeq:{{{transcludesection|SECTIONNAME}}}|SECTIONNAME|''SECTIONNAME Commment''}}{{#ifeq:{{{transcludesection|SECTIONNAME2}}}|SECTIONNAME2|''SECTIONNAME2 Comment''}}|badge1=sm|badge2=lam}}
</onlyinclude>
<noinclude>|}</noinclude></pre>
Additional #ifeq sections can be included to fit your needs.

Revision as of 17:08, 4 September 2019

Sick of having to change multiple AM table entries after a rank promotion or an area expansion? Want to create a one stop shop to adjust your AM table entries? You’ve come to the right place. First, navigate to

 https://wazeopedia.waze.com/wiki/USA/User:YOURUSERNAMEHERE/Profile

and create the page. From there, paste in the following and adjust to fit your needs:

<!--{{User:YOURUSERNAMEHERE/Profile}}-->
<noinclude>{|border=“1”</noinclude>
<onlyinclude>
{{AM/Editor|Username|Editor Level|Area Managed|Other Comment|badge1=...}}
</onlyinclude>
<noinclude>|}</noinclude>

Then include the following in an AM table of your choosing (Warning: modifying the Profile page can have a delay before displaying as it requires the state pages’ caches to clear before updating)

{{User:YOURUSERNAMEHERE/Profile}}

The current results below are what is displayed when including Hbiede/Profile

HBiede(5) [PM [Help]]  Nebraska and Western Montana
Nebraska State Manager

You can include multiple badges in the profile. The options for badges are as follows (Note: the first badge listed affects the color of the table row):

  • rc = regional coordinator
  • gc = global champ
  • lc = local champ
  • m = mentor
  • mgc = global champ mentor
  • mlc = mentor local champ
  • cm = country manager
  • sm = state manager
  • lam = large area manager
  • am = area manager
  • mr = mapraider (only designed for use in MR team lists)


“gho=NAME” can be included at the end to display your name (as it is displayed on Google Hangouts) and “pic=File:FILENAME” to include a profile image.


Different Comments for Different Occasions

Lets say you want to have two different comments for different tables (ie. I have my Nebraska entry say "Nebraska State Manager" and my Montana entry say "NWR-PLN Collab/NE SM"). This can be accomplished via transclusion sections. For a simple setup of 2 options, follow the below example:


<!--{{User:Hbiede/Profile|transcludesection="SECTIONNAME"}}-->
<noinclude>{|border=“1”</noinclude>
<onlyinclude>
{{AM/Editor|HBiede|4|Nebraska and Western Montana|{{#ifeq:{{{transcludesection|SECTIONNAME}}}|SECTIONNAME |''Comment if SECTIONNAME''|''Comment if not SECTIONNAME''}}|badge1=sm|badge2=lam}}
</onlyinclude>
<noinclude>|}</noinclude>


This allows you to include "|transcludesection="SECTIONNAME"" to display "Comment if SECTIONNAME" while any other section name will display "Comment if not SECTIONNAME". For a more complex example, where you can have 3+ comments, use the following:

<!--{{User:Hbiede/Profile}}-->
<noinclude>{|border=“1”</noinclude>
<onlyinclude>
{{AM/Editor|HBiede|4|Nebraska and Western Montana|{{#ifeq:{{{transcludesection|SECTIONNAME}}}|SECTIONNAME|''SECTIONNAME Commment''}}{{#ifeq:{{{transcludesection|SECTIONNAME2}}}|SECTIONNAME2|''SECTIONNAME2 Comment''}}|badge1=sm|badge2=lam}}
</onlyinclude>
<noinclude>|}</noinclude>

Additional #ifeq sections can be included to fit your needs.