Template talk:Numrec/Kosovo

Latest comment: 4 years ago by Vanjagenije in topic Number of rec

Dominica

edit

change it to 97 dominica recognied it today — Preceding unsigned comment added by 71.204.179.212 (talk) 10:15, 11 December 2012 (UTC)Reply

Number of rec

edit

It looks like template is not working? It should present current number of recognitions, but it looks like it is stuck. Can someone fix it to deduct withdrawn recognition from total number? --Ąnαșταη (ταlκ) 09:46, 6 September 2020 (UTC)Reply

@Anastan: The "N" parameter is the total number of recognitions ever received, while the "W" parameter is for the number of recognitions that were revoked. The current number of valid recognitions is calculated by subtracting W from N. Vanjagenije (talk) 10:06, 6 September 2020 (UTC)Reply
@Vanjagenije: But that is not happening. its showing only total number? --Ąnαșταη (ταlκ) 10:08, 6 September 2020 (UTC)Reply
@Anastan: Showing where? Vanjagenije (talk) 10:12, 6 September 2020 (UTC)Reply
@Vanjagenije:Well, for example, here - Template:Kosovo-note --Ąnαșταη (ταlκ) 10:14, 6 September 2020 (UTC)Reply
When used without any other parameter, the {{Numrec/Kosovo}} simply returns the N parameter. That is how it's made to be, ant how it has always been. I fixed the {{Kosovo-note}} template by forcing the {{Numrec/Kosovo}} to subtract 15, that is the number of withdrawals. I don't know how to make it be automatic, so that we don't need to change all the articles one the number of withdrawals is changed. Vanjagenije (talk) 11:35, 6 September 2020 (UTC)Reply