NATION

PASSWORD

[Suggestion] BBCode tags for regional delegate and founder

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
HMS Unicorn
Spokesperson
 
Posts: 199
Founded: Jun 29, 2005
Ex-Nation

[Suggestion] BBCode tags for regional delegate and founder

Postby HMS Unicorn » Wed Jul 15, 2015 2:38 pm

Would it be possible to add BBcode tags, gameside and perhaps forumside, that would produce dynamically-updating links to a region's delegate or founder?

Here is an example of how this could work. Writing the code
Code: Select all
[delegate]the north pacific[/delegate]
would produce the following hyperlink: Zemnaya Svoboda .

Alternatively, one could write the code
Code: Select all
[delegate=the north pacific]a link to TNP's delegate[/delegate]
which would produce the following hyperlink: a link to TNP's delegate

Both links would currently direct to Zemnaya Svoboda. Then, should The North Pacific's delegate change tomorrow, the links would be automatically updated to point to the new delegate nation, without the need to edit the code. And similarly for regional founders.

These BBcode tags would be incredibly useful in dispatches. Many regions have dispatches that are meant to remain in place for a long time, and which describe the regional government or other infrastructure. These dispatches frequently need to reference regional officials such as the delegate or founder, and updating them can be very tedious. A representative example would be The North Pacific WA Development Program, but I'm sure there are dozens of regional dispatches that have similar links.

Given all the code already in place for the various other BBcode tags, e.g., the NATION tag with the dynamically updating flag, I imagine that adding the above tags would be simple from a coding perspective.

Thanks in advance!

User avatar
Mousebumples
Game Moderator
 
Posts: 8623
Founded: Antiquity
Inoffensive Centrist Democracy

Postby Mousebumples » Wed Jul 15, 2015 6:46 pm

Possible bug/glitch: What if a region doesn't have a WA Delegate? What is displayed?

Otherwise, I agree that this could be useful for dispatches or WFE's.
Leader of the Mouse-a-rific Mousetastic Moderator Mousedom of Mousebumples
Past WA Delegate for Europeia & Monkey Island
Proud Member of UNOG
I'm an "adorably marvelous NatSov" - Mallorea and Riva
GA Resolutions (sorted by category) | Why Repeal? | Reppy's Sig Workshop

User avatar
Topid
Minister
 
Posts: 2843
Founded: Dec 29, 2008
Capitalizt

Postby Topid » Wed Jul 15, 2015 7:32 pm

I like this idea. Well at least for delegates. I can't imagine why you'd need one for founders, founders do not change very often at all.

One other consideration is that if this could be done it should be one of the BBCode left out of WA proposals. I can see a less-experienced person using it in a SC resolution and the rest of us not noticing the difference between tags. Then when the delegate changes in the future the resolution makes no sense. :p
AKA Weed

User avatar
HMS Unicorn
Spokesperson
 
Posts: 199
Founded: Jun 29, 2005
Ex-Nation

Postby HMS Unicorn » Thu Jul 16, 2015 4:47 am

Mousebumples wrote:Possible bug/glitch: What if a region doesn't have a WA Delegate? What is displayed?

As with nations that CTE, it could be some non-hyperlinked text, e.g., "REGION_NAME delegate". Seems easy enough.
Topid wrote:One other consideration is that if this could be done it should be one of the BBCode left out of WA proposals. I can see a less-experienced person using it in a SC resolution and the rest of us not noticing the difference between tags. Then when the delegate changes in the future the resolution makes no sense. :p

Aye, it should be entirely disabled for WA proposals. Or, if that's not possible, made illegal by mods.

User avatar
SillyString
Secretary
 
Posts: 29
Founded: Mar 22, 2013
Ex-Nation

Postby SillyString » Fri Jul 17, 2015 11:36 am

I love this idea!

I suppose it wouldn't be necessary to include founders, but I don't see it doing any harm, either. It could come in handy in an unexpected place.

User avatar
Kaboomlandia
Negotiator
 
Posts: 7395
Founded: May 22, 2013
Ex-Nation

Postby Kaboomlandia » Fri Jul 17, 2015 12:30 pm

SillyString wrote:I love this idea!

I suppose it wouldn't be necessary to include founders, but I don't see it doing any harm, either. It could come in handy in an unexpected place.

It would be very handy for WFEs that say "endorse X nation".
In=character, Kaboomlandia is a World Assembly member and abides by its resolutions. If this nation isn't in the WA, it's for practical reasons.
Author of GA #371 and SC #208, #214, #226, #227, #230, #232
Co-Author of SC #204
"Insanity is doing the same thing over and over and expecting a different result."
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."

"Your legitimacy, Kaboom, has melted away in my eyes. I couldn't have believed that only a shadow of your once brilliant WA career remains."

User avatar
Imperium Anglorum
GA Secretariat
 
Posts: 12659
Founded: Aug 26, 2013
Left-Leaning College State

Postby Imperium Anglorum » Fri Jul 17, 2015 1:35 pm

SillyString wrote:I love this idea!

I suppose it wouldn't be necessary to include founders, but I don't see it doing any harm, either. It could come in handy in an unexpected place.

But that's just because you are in the North Pacific, which doesn't have a founder. What if I'm in Europe, which clearly does?

Author: 1 SC and 56+ GA resolutions
Maintainer: GA Passed Resolutions
Developer: Communiqué and InfoEurope
GenSec (24 Dec 2021 –); posts not official unless so indicated
Delegate for Europe
Elsie Mortimer Wellesley
Ideological Bulwark 285, WALL delegate
Twice-commended toxic villainous globalist kittehs

User avatar
Misley
Diplomat
 
Posts: 609
Founded: Jan 05, 2009
Ex-Nation

Postby Misley » Fri Jul 17, 2015 2:45 pm

Imperium Anglorum wrote:
SillyString wrote:I love this idea!

I suppose it wouldn't be necessary to include founders, but I don't see it doing any harm, either. It could come in handy in an unexpected place.

But that's just because you are in the North Pacific, which doesn't have a founder. What if I'm in Europe, which clearly does?

I don't think SillyString is saying it's unnecessary because TNP doesn't have a founder, but rather because founders change very, very rarely. I don't see a whole lot of value in a founder tag that can't be addressed by using a
Code: Select all
[nation]whatever the founder nation is[/nation]
tag instead. [region=The Internationale] has been around for six years. The founder has changed once. I can't picture an instance in which it would have been useful to have a [founder] tag to refer to either founder nation.

The addition of a delegate tag, as delegates change relatively frequently, would by contrast be very handy.
EGO·VERO·CUSTOSFRATRIS·MEI·SUM
Socialist People's Provinces of Misley

   
Editor of the Red & Black
Fleet Admiral of The Red Fleet
Custodian of The Internationale

User avatar
Free Republics
Minister
 
Posts: 3114
Founded: May 03, 2013
Ex-Nation

Postby Free Republics » Fri Jul 17, 2015 3:11 pm

Kaboomlandia wrote:
SillyString wrote:I love this idea!

I suppose it wouldn't be necessary to include founders, but I don't see it doing any harm, either. It could come in handy in an unexpected place.

It would be very handy for WFEs that say "endorse X nation".


It'd also be very handy for successful invaders, since the WFE would automatically say "endorse [raider delegate]" rather than "endorse [native delegate]" after the delegacy changed hands in a raid. They wouldn't even have to change the WFE to try and trick some natives into unwittingly supporting the occupation of their region.
Why I left NS Sports
World Cup 85 Champions
1st: DBC 28, X Winter Olympics, Independents Cup 4, CoH 66, WBC 46, World Bowl XXXVIII, World Cup 85
2nd: World Cup 68, DBC 27, U15WC 8, UWCFA Gold Cup I, BoI 15, 2nd Imperial Chap Olympiad, NSCF 11
Host: World Cups 68 & 81, CoH 58, Games of XIII Olympiad, X Winter Olympics, World Bowls XXII, XXXI & XXXVIII, WBCs 42 & 46, RUWC 25
Current Senior Consul: Nova Hellstrom-Hancock (Golden Age)
Current Junior Consul: Samuel Izmailov (Nat-Gre)
Demonym: Republican
Trigram: FFR
Official Nation Name: Federation of Free Republics
Stop Biden: Vote Trump!

User avatar
Rhodevus
Powerbroker
 
Posts: 7686
Founded: Apr 19, 2013
Scandinavian Liberal Paradise

Postby Rhodevus » Fri Jul 17, 2015 3:15 pm

Mousebumples wrote:Possible bug/glitch: What if a region doesn't have a WA Delegate? What is displayed?

Otherwise, I agree that this could be useful for dispatches or WFE's.


I think that what should be displayed would just be a link to the region's WFE (if there is no delegate for that region)
She/Her
IATA Member Embassy Character Creation 101
Do not argue against me, you will lose...or win, depending on the situation
The Official Madman with a Box
Rodrania wrote:Rhod, I f*cking love you, man. <3
Divergia wrote:The Canadian Polar-Potato-Moose-Cat has spoken!
Beiluxia wrote:Is it just me, or does your name keep getting better the more I see it?

Factbook
International Exchange Student Program Member
XENOS MEMBER OF THE MULTI-SPECIES UNION!

User avatar
HMS Unicorn
Spokesperson
 
Posts: 199
Founded: Jun 29, 2005
Ex-Nation

Postby HMS Unicorn » Sat Jul 18, 2015 1:06 pm

I don't have strong feelings either way regarding the FOUNDER option. I suggested it mostly for symmetry.

It's true that it's not nearly as useful as the DELEGATE tag, given how infrequently founders change. At the same time, I can't think of any drawbacks, and it may have some little use as a shortcut.

User avatar
Cora II
Diplomat
 
Posts: 868
Founded: Jun 27, 2014
Ex-Nation

Postby Cora II » Sun Jul 19, 2015 4:04 am

Same nation can be elected delegate of 2 different regions simultaneously, if it is elected first in later updating region, and during very next update in an earlier updating one. Maximum time for this can be time between updates of the first and the last regions in order of update.

To which region [delegate][/delegate] tag would link/direct in this kind cases?

ADD: ...and how about with nations that are founders of multiple regions?

In both aforementioned cases new tags won't do better then [nation][/nation] tag already does.
Last edited by Cora II on Sun Jul 19, 2015 4:33 am, edited 1 time in total.
• The Black Riders Witch-Z-Queen of Cimmeria 'Cora' • Raider Extremist • War Diary
• 618+ active updates, 11195+ raided regions, 3567+ times raider delegate, 158+ updates in command, 2870+ triggered raids, 35+ occupations, 307+ banjected WA-nations •

"Cut them down!"

User avatar
Misley
Diplomat
 
Posts: 609
Founded: Jan 05, 2009
Ex-Nation

Postby Misley » Sun Jul 19, 2015 8:13 am

Cora II wrote:Same nation can be elected delegate of 2 different regions simultaneously, if it is elected first in later updating region, and during very next update in an earlier updating one. Maximum time for this can be time between updates of the first and the last regions in order of update.

To which region [delegate][/delegate] tag would link/direct in this kind cases?

ADD: ...and how about with nations that are founders of multiple regions?

In both aforementioned cases new tags won't do better then [nation][/nation] tag already does.

Cora, the delegate/founder tags would be for the region, not the nation holding those positions. So the tag would link to whoever currently holds the Delegate or Founder seat in the region in question.

For example, [delegate]The Internationale[/delegate] would link to Proletaire, who is currently TI's WAD. If someone else was elected to the WAD seat, then the same tag would link to the new WAD.
EGO·VERO·CUSTOSFRATRIS·MEI·SUM
Socialist People's Provinces of Misley

   
Editor of the Red & Black
Fleet Admiral of The Red Fleet
Custodian of The Internationale

User avatar
HMS Unicorn
Spokesperson
 
Posts: 199
Founded: Jun 29, 2005
Ex-Nation

Postby HMS Unicorn » Mon Jul 20, 2015 5:53 pm

Cora, I'm not sure what the issue is in either case. Misley already explained, but I'll give some more details.

Cora II wrote:Same nation can be elected delegate of 2 different regions simultaneously, if it is elected first in later updating region, and during very next update in an earlier updating one. Maximum time for this can be time between updates of the first and the last regions in order of update.

To which region [delegate][/delegate] tag would link/direct in this kind cases?

The proposed [delegate] tag would link to nations, not regions.

Say NationA is simultaneously delegate of RegionA and RegionB. Then, both
Code: Select all
[delegate]RegionA[/delegate]
and
Code: Select all
[delegate]RegionB[/delegate]
would produce links to NationA.

When NationA ceased to be delegate in either region, then the links would be automatically updated to point to the new delegate.

Cora wrote:ADD: ...and how about with nations that are founders of multiple regions?

It's exactly the same as above. If NationA is founder of both RegionA and RegionB, then both
Code: Select all
[founder]RegionA[/founder]
and
Code: Select all
[founder]RegionB[/founder]
would link to NationA.

Cora wrote:In both aforementioned cases new tags won't do better then [nation][/nation] tag already does.

I don't think the new tags and
[nation]
are comparable in the cases you describe. Their function is very different. I hope my explanation above has demonstrated this and clarified any confusion.
Last edited by HMS Unicorn on Mon Jul 20, 2015 5:54 pm, edited 1 time in total.

User avatar
Cora II
Diplomat
 
Posts: 868
Founded: Jun 27, 2014
Ex-Nation

Postby Cora II » Mon Jul 20, 2015 6:37 pm

Yep I see. I thought this thing from little weird angle, that use of such kind tags would automatically track and parse relevant region information of a founder's/delegate's nation link to a text. Something like this (in case of delegate for example):

blah blah bla-blaaaa, txtxt text, blah Nation X, the Delegate of region Y, blah blah, text text, more txt...


In where both nation and region(s) would be clickable links, in which case my notes on issue are more sensible.

ADD : In another words, [delegate] tag would produce line similar then coding
Code: Select all
 Delegate [nation]Nation X[/nation] of [region]Region Y[/region]
Last edited by Cora II on Mon Jul 20, 2015 6:55 pm, edited 2 times in total.
• The Black Riders Witch-Z-Queen of Cimmeria 'Cora' • Raider Extremist • War Diary
• 618+ active updates, 11195+ raided regions, 3567+ times raider delegate, 158+ updates in command, 2870+ triggered raids, 35+ occupations, 307+ banjected WA-nations •

"Cut them down!"

User avatar
HMS Unicorn
Spokesperson
 
Posts: 199
Founded: Jun 29, 2005
Ex-Nation

Postby HMS Unicorn » Mon Jul 27, 2015 11:44 am

I see, thanks, I understand your earlier post now. However, even if the tag were to produce to the text you suggest, I still don't think there would be problems.

The key here is that the specification that goes inside the tag is for a region, not a nation. So, the code [delegate]Region X[/delegate] could produce the text
Code: Select all
Delegate [nation]Nation X[/nation] of [region]Region X[/region]

Nation X may also be delegate of Region Y, and you can get a link for that region using [delegate]Region Y[/delegate]. But as far as [delegate]Region X[/delegate] is concerned, Nation X's other delegacies are irrelevant.

I agree with you that, for the scenario you describe, there would be problems if the specification inside the tag was for a nation, e.g., if you wanted to use the code [delegate]Nation X[/delegate] to produce the text
Code: Select all
Delegate [nation]Nation X[/nation] of [region]Region X[/region]

This case would indeed be troublesome, as the tag expansion script would need to figure out which of all the regions Nation X is delegate of it should use.
[hr]
I'll also use this post to bump this suggestion back to the first page, as there seemed to be interest in it from several other players.
Last edited by HMS Unicorn on Mon Jul 27, 2015 11:46 am, edited 1 time in total.

User avatar
SillyString
Secretary
 
Posts: 29
Founded: Mar 22, 2013
Ex-Nation

Postby SillyString » Mon Aug 03, 2015 9:38 pm

I still love this idea!

Oh, and Imperium Anglorum: My main nation is in a UCR, so I'm absolutely familiar with founders. ;) But as Misley and others have said, they don't change very frequently (and in some cases, never), so the issue with having to update references doesn't exist.

On the other hand, I can see it coming in handy if you're trying to write something about many regions and don't know their founders off the top of your head - for example, perhaps a defender organization publishing a factbook listing all of their member regions and those regions' founders and delegates, for a handy reference. Then, being able to just quickly type [delegate]RegionA[/delegate] and [founder]RegionA[/founder] would save a lot of time.

User avatar
Tyrnica
Ambassador
 
Posts: 1030
Founded: Jun 08, 2014
Left-wing Utopia

Postby Tyrnica » Mon Aug 03, 2015 11:30 pm

I believe this would be an extremely useful addition to the game and forum. I agree, yes, it should be disabled for WA proposals, but otherwise seems a very sound idea.
Founder of Levilion and Administrator of Aeia

User avatar
HMS Unicorn
Spokesperson
 
Posts: 199
Founded: Jun 29, 2005
Ex-Nation

Postby HMS Unicorn » Mon Aug 24, 2015 10:49 am

As I was updating some dispatches to reflect delegate changes, I was reminded of this old suggestion of mine.

Given that several others expressed interest in this idea, I thought I'd give it another bump.

User avatar
McMasterdonia
Diplomat
 
Posts: 962
Founded: Apr 19, 2012
Mother Knows Best State

Postby McMasterdonia » Sun Sep 20, 2015 8:15 am

I thought I would bump this thread (hope that is okay?). Love the suggestion from HMS unicorn and think it would be extremely useful if it could be added by Admin. :blush:

User avatar
Almonaster Nuevo
Negotiator
 
Posts: 6844
Founded: Mar 11, 2007
Civil Rights Lovefest

Postby Almonaster Nuevo » Sun Sep 20, 2015 8:32 am

This seems like an excellent idea to me, too.

When regional officers are implemented, it might make sense to have equivalent links for them (assuming this is feasible).
Christian Democrats wrote:Would you mind explaining what's funny? I'm not seeing any humor.
The Blaatschapen wrote:I'll still graze the forums with my presence
Please do not TG me about graphics requests. That's what the threads are there for.


Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Bisofeyr, Bormiar, Chenzorian Viatrok, Dem Undine, Etwepe, Geopolity, Greater Westphalia, Minytyrsa, Noton Mast, Planetary Soviet Socialist Republics, Savossia, The Overwhelming Force of The Combine, The United British Kingdom, Tricklandia, United Calanworie, Valentine Z, Wattsland, Xoshen, Yektov

Advertisement

Remove ads